flow-cli icon indicating copy to clipboard operation
flow-cli copied to clipboard

Feature: Allow to skip version check via flag

Open MaxStalker opened this issue 3 years ago • 0 comments

Issue To Be Solved

Running any command via CLI will result in version check, which on slow connection can add overhead of multiple seconds(!). In my case it was 320 ms (offline) vs 12,000 ms(slow connection) to spin up emulator.

Solution

Add --skip-check global flag to bypass version check and speed up execution of commands.

(Optional): Context

Running tests via flow-js-testing was taking too much time to start emulator. Disabling internet connection speed up start up process by ~3,750% 😅

MaxStalker avatar Oct 10 '22 22:10 MaxStalker