Refactor CLI to use "commands"
See original GitHub issueFirst, this project is great. Keep up the good work.
This is a proposal for a redesign of the CLI interface. I’d be happy to put in a PR for if it seems like a good thing to do.
A Proposal
Redesign the CLI interface to use “commands” instead of options.
$ lume --help
🔥lume v0.14.0
A static site generator for Deno
Docs:
https://lumeland.github.io
Usage:
lume [OPTIONS] COMMAND
Options:
-h, --help - Show this help.
-V, --version - Show the version number for this program.
Commands:
build [config] - build the site
init - create a _config.js file for a new site
serve - Build the site and start a web server that refreshes automatically for every change
upgrade - Upgrade local lume install to the latest version
update - Update the lume version imported in _config.js to the latest
Each command would have its own --help
output as well, specifying the relevant options for that command
If this looks like a good direction for lume I can get a PR ready sometime this week
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
ApexSQL Refactor Command Line Interface (CLI) switches
The CLI in ApexSQL Refactor allows to format SQL scripts using one of four build-in formatting profiles or use your own customized formatting...
Read more >Large Refactor At The Command Line - Waylon Walker
Large Refactor At The Command Line ; match the remote and wipe out any changes. git reset --hard origin/main ; match our last...
Read more >Command Line Tool - Refactor - SQL Enlight
Command Line Tool – Refactor. Refactor T-SQL script files using registered code refactorings. ... Apply single refactoring to the T-SQL files.
Read more >3 basic refactoring tools for your command line
3 basic refactoring tools for your command line. byMagmaLabs Team; August 23, ... And now, a quick summary of the commands I use...
Read more >Command - Refactoring.Guru
Command is a behavioral design pattern that turns a request into a stand-alone object that contains all information about the request.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome. Thanks for the quick feedback. Good to see work already being done on this front @oscarotero.
I will check out that branch and contribute where I can.
Closed by #34