Skip to content

bin/enqueue-job: Use clap to parse commands and generate help text #5768

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

Merged
merged 1 commit into from
Dec 31, 2022

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Dec 31, 2022

Usage: enqueue-job <COMMAND>

Commands:
  update_downloads      
  dump_db               
  daily_db_maintenance  
  squash_index          
  normalize_index       
  help                  Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help information
Usage: enqueue-job dump_db <DATABASE_URL> [TARGET_NAME]

Arguments:
  <DATABASE_URL>  [env: READ_ONLY_REPLICA_URL]
  [TARGET_NAME]   [default: db-dump.tar.gz]

Options:
  -h, --help  Print help information

@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Dec 31, 2022
@Turbo87 Turbo87 merged commit 5ceed51 into rust-lang:master Dec 31, 2022
@Turbo87 Turbo87 deleted the enqueue-clap branch December 31, 2022 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant