Skip to content

Split fly command-line parameters by a resource types #1993

Closed

Description

@avoidik

Feature Request

What challenge are you facing?

Fly command-line commands do have alphabetical order at this moment. My suggestion is to split them by resource types like jobs, pipelines, workers, teams, and so on.

A Modest Proposal

Split fly command-line commands by a groups and introduce 3-rd level of nesting. For example
fly workers [purge|remove|list]
fly jobs [get|create|purge|remove|list]
fly pipeline [get|create|purge|remove|list]
fly containers [get|create|purge|remove|list]

Activity

  1. changed the title [-]Split fly command by resource types[/-] [+]Split fly command-line parameters by a resource types[/+] on Jan 30, 2018
  2. vito commented on Jan 30, 2018

    @vito
    Contributor

    I'm not a fan of "hierarchial" CLIs; I think it hinders discoverability. It's easier IMO to just think of it as a flat map of commands.

    I do think the help-text could be improved though, and the commands could simply be grouped by the resource they deal with, as the issue subject suggests.

  3. stale commented on Jul 31, 2019

    @stale

    Beep boop! This issue has been idle for long enough that it's time to check in and see if it's still important.

    If it is, what is blocking it? Would anyone be interested in submitting a PR or continuing the discussion to help move things forward?

    If no activity is observed within the next week, this issue will be exterminated closed, in accordance with our stale issue process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions