HEMTT icon indicating copy to clipboard operation
HEMTT copied to clipboard

Subcommands documentation should be split into core and utilities

Open jonpas opened this issue 6 years ago • 1 comments

HEMTT Version: 0.7.0-0.940758 Project: https://github.com/Theseus-Aegis/Mods (updated hemtt.toml for restructure)

Description: SUBCOMMANDS should be split into core functionality and utilities. Mimicking source folders would be ideal as it was pre-restructure in my opinion.

Steps to reproduce:

  • hemtt -h / hemtt --help / hemtt help

Additional information: None

HEMTT Output: Current:

SUBCOMMANDS:
    build               Build the Project
    clean               Clean built files
    help                Prints this message or the help of the given subcommand(s)
    init                Initialize a HEMTT Project
    mission_generate    Generate `pbos` for multiple maps from a single mission
    pack                Pack the Project
    status              Get the status of your project
    template            Manage the project's tempalte
    translation         Get translation info from `stringtable.xml` files
    update              Update HEMTT to the latest stable release
    zip                 Get translation info from `stringtable.xml` files

Improved (example):

(SUB)COMMANDS:
    build               Build the Project
    clean               Clean built files
    help                Prints this message or the help of the given subcommand(s)
    init                Initialize a HEMTT Project
    pack                Pack the Project
    status              Get the status of your project
    template            Manage the project's tempalte
    update              Update HEMTT to the latest stable release

UTILITIES:
    mission_generate    Generate `pbos` for multiple maps from a single mission
    translation         Get translation info from `stringtable.xml` files
    zip                 Get translation info from `stringtable.xml` files

jonpas avatar Sep 27 '19 17:09 jonpas

This will need to be done in https://github.com/clap-rs/clap first, I've referenced a feature request

BrettMayson avatar Sep 27 '19 18:09 BrettMayson

This is now outdated.

jonpas avatar May 16 '23 13:05 jonpas