Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turbo has more help text now, update test #1931

Merged
merged 6 commits into from
Sep 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 66 additions & 22 deletions cli/integration_tests/turbo_help.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,73 @@ Setup

Test help flag
$ ${TURBO} -h
Usage: turbo [--version] [--help] <command> [<args>]

Available commands are:
bin Get the path to the Turbo binary
daemon Runs turbod
link Link your local directory to a Vercel organization and enable remote caching.
login Login to your Vercel account
logout Logout of your Vercel account
prune Prepare a subset of your monorepo.
run Run tasks across projects in your monorepo
unlink Unlink the current directory from your Vercel organization and disable Remote Caching
Turbocharge your monorepo

Usage:
turbo [command]

Available Commands:
bin Get the path to the Turbo binary
completion Generate the autocompletion script for the specified shell
daemon Runs the Turborepo background daemon
help Help about any command
link Link your local directory to a Vercel organization and enable remote caching.
login Login to your Vercel account
logout Logout of your Vercel account
prune Prepare a subset of your monorepo.
run Run tasks across projects in your monorepo
unlink Unlink the current directory from your Vercel organization and disable Remote Caching

Flags:
--api string Override the endpoint for API calls
--color Force color usage in the terminal
--cpuprofile string Specify a file to save a cpu profile
--cwd string The directory in which to run turbo
--heap string Specify a file to save a pprof heap profile
-h, --help help for turbo
--login string Override the login endpoint
--no-color Suppress color usage in the terminal
--preflight When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization
--team string Set the team slug for API calls
--token string Set the auth token for API calls
--trace string Specify a file to save a pprof trace
-v, --verbosity count verbosity
--version version for turbo

Use "turbo [command] --help" for more information about a command.

$ ${TURBO} --help
Usage: turbo [--version] [--help] <command> [<args>]

Available commands are:
bin Get the path to the Turbo binary
daemon Runs turbod
link Link your local directory to a Vercel organization and enable remote caching.
login Login to your Vercel account
logout Logout of your Vercel account
prune Prepare a subset of your monorepo.
run Run tasks across projects in your monorepo
unlink Unlink the current directory from your Vercel organization and disable Remote Caching
Turbocharge your monorepo

Usage:
turbo [command]

Available Commands:
bin Get the path to the Turbo binary
completion Generate the autocompletion script for the specified shell
daemon Runs turbod
help Help about any command
link Link your local directory to a Vercel organization and enable remote caching.
login Login to your Vercel account
logout Logout of your Vercel account
prune Prepare a subset of your monorepo.
run Run tasks across projects in your monorepo
unlink Unlink the current directory from your Vercel organization and disable Remote Caching

Flags:
--api string Override the endpoint for API calls
--color Force color usage in the terminal
--cpuprofile string Specify a file to save a cpu profile
--cwd string The directory in which to run turbo
--heap string Specify a file to save a pprof heap profile
-h, --help help for turbo
--login string Override the login endpoint
--no-color Suppress color usage in the terminal
--preflight When enabled, turbo will precede HTTP requests with an OPTIONS request for authorization
--team string Set the team slug for API calls
--token string Set the auth token for API calls
--trace string Specify a file to save a pprof trace
-v, --verbosity count verbosity
--version version for turbo

Use "turbo [command] --help" for more information about a command.