-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(headless-client): deprecate subcommands for now (#4953)
Closes #4907 They're still accepted, but the binary entirely determines the behavior. This makes the code for CLI parsing and token handling simpler with fewer branches, so it's easier to be sure it's correct. Replaces #4942 which isn't doing what I intended anymore.
- Loading branch information
1 parent
ca0de26
commit b444dee
Showing
3 changed files
with
13 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
fn main() -> anyhow::Result<()> { | ||
firezone_headless_client::run() | ||
firezone_headless_client::run_only_headless_client() | ||
} |