-
Notifications
You must be signed in to change notification settings - Fork 123
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
markbind deploy: build before deploying #534
Comments
Commands should usually do only a single thing though. It can have additional features to ease typing, but those features are usually off by default, not on by default. So a
This principle is also followed by other command line tools such as git: git checkout existing-branch # check out an existing branch (error if branch does not exist)
git checkout -b my-new-branch # create a new branch first from current branch, then check it out |
That's a good point. I'm Ok with a BTW, isn't git |
git's We could also create a brand new command that is composed, just like git's |
Sounds good. Alternatively, we can rename |
While this issue has been dormant for years, I think this is definitely still worth implementing as it allows for With regards to having commands only do a single thing, while in principle this is true, our @damithc What do you think? Personally, at the moment this makes more sense than coming up with a new command altogether that simply combines the two commands. Of course, if you think that coming up with a new command is still better, then I think |
@lhw-1 I'm OK with Other views are welcome too. |
Current:
markbind deploy
does not build but deploy only.In most cases users would want to deploy the latest version of the site. Should it build by default with possibly a
--no-build
option?The text was updated successfully, but these errors were encountered: