~mna/hockeysim

da13b29e6e2b086d12c4b147bf75c0573c780d08 — Martin Angers 1 year, 1 month ago c6e9faf
clear done commands
1 files changed, 9 insertions(+), 11 deletions(-)

M src/cli.js
M src/cli.js => src/cli.js +9 -11
@@ 19,10 19,6 @@ void yargs
  .help ()
  .argv

// $ hockeysim league rm | remove
//    lists the leagues available for removal - only leagues with no
//    started season can be removed.
//
// $ hockeysim season new --league NAME
//    create a new season for the specified league. If no league is
//    provided, the configured default league is used, or a list of


@@ 42,9 38,11 @@ void yargs
//    lists the seasons for that league, with status (active,
//    terminated, etc.).
//
// $ hockeysim roster [view] --league NAME
//    select team and season, view the roster, defaults to current
//    active or unstarted or latest terminated season.
// $ hockeysim season start --league NAME
//    starts the unstarted season. Validates the rosters, generates
//    the schedule and marks it as started.
//
// $ hockeysim season end --league NAME
//
// Idea: command to generate players for the season's draft, teams
// draft by reverse order of last season's standings (random for first)


@@ 52,6 50,10 @@ void yargs
// That way, no need to manually create valid rosters. Also, player
// generation is automated.
//
// $ hockeysim roster [view] --league NAME
//    select team and season, view the roster, defaults to current
//    active or unstarted or latest terminated season.
//
// $ hockeysim roster draft --league NAME
//    automatically generates the number of players required to fill
//    all teams, and proceeds to draft based on previous season's


@@ 71,10 73,6 @@ void yargs
//    team, player(s) and result. Some logic to define if trade is acceptable,
//    and rosters must remain valid.
//
// $ hockeysim season start --league NAME
//    starts the unstarted season. Validates the rosters, generates
//    the schedule and marks it as started.
//
// $ hockeysim schedule [view] --league NAME
//    lists upcoming games, paginated.
//