-
Notifications
You must be signed in to change notification settings - Fork 94
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
Rationalize the CLI command set. #1249
Comments
(I'd imagine that we'll do this as part of the communication API refactor.) |
Well, to me this is not obviously related to that. Some CLI commands call the high level suite daemon info and control API, but that is largely independent of the underlying communication protocols that are the main focus of that refactor (i.e. moving from Pyro to RESTful HTTP); and many commands don't interact with suite daemons at all. |
OK. I guess I misunderstood this issue somewhat. However, for those commands that do interact with the suite daemon, I would expect us to just put a very thin CLI on top, once we have got #1250 sorted. |
Agreed. |
[meeting] - do this after #1250, at least for the commands that do interact with suite daemons. |
Instead now we will be able to just use Sphinx integration with setuptools 👍 Marked as done in this check list. |
(Only item left is |
I'd be keen to remove it, and perhaps add a note to --help. I think the previous command would simply open the browser with the doc url. Fine it others prefer to keep it and just use the new URL |
It appears to have some kind of suite-task documentation functionality. In the world of Cylc 8, I guess this can easily be absorbed into the UI? |
Yes, |
Well... the bullet points and check boxes were added later, I think. The original intent of this issue was to review the entire command set, which seems overly huge:
However, not a high priority I guess. |
Agreed not high priority. Should probably get it done for Cylc-8.0.0 though. |
We can probably get rid of the |
After discussions on Riot the next two commands to bite the dust are:
Ping @datamel (cite this issue in your PR). |
For the record we also removed See #3634 |
I think we have done everything on the list 🎉, CLI well rationalized! Only one dangling comment:
Since that comment the Not really enough to keep this issue open so closing. |
The cylc CLI command set has gradually grown over a long period, so it could do with a rethink. Some commands could be removed, renamed, or combined with others. For instance, should all commands that retrieve information from a suite daemon be combined into one, or should they at least have a common prefix that is not shared by commands that retrieve information from parsing suite definitions? Is the "set-verbosity" command ever used? (suite reload can do "set-xxx" jobs, although it could be made more efficient - not reload task definitions if task definitions haven't changed).
(Edit: Bruno, added task list)
Move to build/setup.py/make/etc
cylc make-docs
Remove non cycling commands from cylc #2983cylc profile-battery
- it became a blocker for Add setuptools and package Cylc as a Python module #2989, and so far the consensus seems to be to promote it to a top level project (e.g.cylc/cylc-profile
or so). Removed in Remove cylc.profiling package and cylc-profile-battery #3006cylc test-battery
- we need to drop it, or come up with a workaround, to unblock Add setuptools and package Cylc as a Python module #2989cylc documentation
- sphinx can be called from Make, or from setup.py/setuptools via a sphinx contrib plugin, mentioned in #2933.cylc-make-docs
was removed in Add setuptools and package Cylc as a Python module #2989Remove
cylc [license] warranty
- users can view the licence in GitHub, or the copy included with the software - removed by Remove useless license commands. #3091cylc [license] conditions
- ditto - removed by Remove useless license commands. #3091cylc cat-state
- proposed in Remove cylc cat-state in cylc-8 #2980, following up on a comment in Use json instead of pickle for broadcast_states in cylc-cat-state? #2912, removed by Remove obsolete cat-state command. #3090Related tasks
The text was updated successfully, but these errors were encountered: