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

Improve the Spack command reference #7214

Merged
merged 6 commits into from
Feb 13, 2018
Merged

Commits on Feb 11, 2018

  1. Clean up help metavar for --scope configuration options

    - previously commands with this argument showed a long list of choices
      that were platform specific.
    
    - use a better metavar: {defaults,system,site,user}[/PLATFORM]
    tgamblin committed Feb 11, 2018
    Configuration menu
    Copy the full SHA
    624fb9a View commit details
    Browse the repository at this point in the history
  2. Add help for buildcache, reorganize command help categories

    - Add proper help for `spack buildcache` subcommands
    
    - Reorganize the help categories of Spack commands so that buildcache is
      in packaging and diy and setup are now in build.
    tgamblin committed Feb 11, 2018
    Configuration menu
    Copy the full SHA
    985fcc1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b19dd4f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ae86ef2 View commit details
    Browse the repository at this point in the history
  5. Fix issues with spack [cmd] -h help output

    - Shorten Spack command usage for short options. Short options are now
      shown as [-abc] instead of as [-a] [-b] [-c]
    
    - fix bug that mixed long and short options for top-level `spack help`
    tgamblin committed Feb 11, 2018
    Configuration menu
    Copy the full SHA
    89c14d9 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2018

  1. Rework command reference in docs, add spack commands command

    - command reference now includes usage for all Spack commands as output
      by `spack help`.  Each command usage links to any related section in
      the docs.
    
    - added `spack commands` command which can list command names,
      subcommands, and generate RST docs for commands.
    
    - added `llnl.util.argparsewriter`, which analyzes an argparse parser and
      calls hooks for description, usage, options, and subcommands
    tgamblin committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    363c32a View commit details
    Browse the repository at this point in the history