-
Notifications
You must be signed in to change notification settings - Fork 343
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
Unify commands under a single entry point #699
Comments
btw |
I have been thinking of doing the same for |
But dvc already have subcommands @skshetry ? I also thought on this. Will make the code dryer since we also repeat many times variables or prepare the output redirecting the console, etc... |
@DavidGOrtega, yes it does. I was commenting on the link that @casperdcl shared about |
It would be nice to provide a common
cml
command to unify all the different scripts that conform our public interface. Executingcml command
could be more practical than the currentcml-command
because the former provides:A more sensible default command on our container images, instead of using
cml-runner
as we're currently doing:cml/Dockerfile
Line 104 in 899c6d2
A canonical way of specifying options that are common to all the commands, like obtaining the used CML version. Calling
cml-command --version
isn't as intuitive as callingcml --version
for a set of tools that get released together.It would be similar to many other modern command-line tools like
gh
ordvc
where users already expect a single base command.We can preserve backward compatibility in the same ways as Git, so
cml-command
andcml command
become equivalent.Additionally, it would be nice to consider more descriptive names for some of the commands and keep aliases for backwards compatibility.
The text was updated successfully, but these errors were encountered: