This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
CLI commands and arguments #2631
ematipico
started this conversation in
Suggestions
Replies: 2 comments 3 replies
-
Displaying progress bars is something I have in my "feature backlog" for |
Beta Was this translation helpful? Give feedback.
2 replies
-
What exactly is the difference between the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to kick off a discussion around the CLI, which commands and arguments we should provide and what's the end goal.
Rome classic had an amazing CLI in terms of developer experience and our CLI is not there yet, although we are slowly getting there.
Some of the features (that I am aware about) that we still miss are the following:
Global Arguments:
--cwd
, different working directory (requires having support for configuration file)--log-level
, showing different type of logging--grep
to filter diagnostics containing this string--log-path
, to save logs somewhere--output-logs
, a way to save logs, by defaultjson
--silent
not print anything, this is usefulRome has way more arguments but I think, for now, we can ignore them. Here's the complete list:
Commands
rome format
(we already have this one)rome lint
, only run the linterrome check
, apply format/lint/etc. (etc. has more stuff like e.g. dependency check, license check, etc.)rome config
, various operations on the configuration (e.g.rome config enable formatter
,rome config set formatter.line_width "120"
)rome init
, starts a new project, requires having support of the configuration filerome auto-config
It scans the project and provides possible fixes to apply to Rome configurationrome daemon
, various operations around the daemon of rome (e.g.rome daemon start
,rome daemon stop
)rome lsp
, connets to an LSProme ci
, various operations (lint, format, etc.) in check mode, to use only in CI environmentsrome test
, runs the test suiteBeta Was this translation helpful? Give feedback.
All reactions