Skip to content
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

feat(cli): Add install --open flag #2015

Merged
merged 2 commits into from
Jan 30, 2024
Merged

Conversation

kriskowal
Copy link
Member

Buzz a sharp corner off of the install and open workflow by allowing them to be combined into a single command.

@kriskowal kriskowal requested review from kumavis and rekmarks January 27, 2024 01:47
@@ -258,11 +258,16 @@ _Familiar Chat_ is an example application that provides a web app for
interacting with your pet daemon.

```
> endo open familiar-chat cat.js --powers HOST
> endo install familiar-chat cat.js --powers HOST
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could see an argument that this might be a more predictable usage if shaped more like other commands: endo install cat.js --powers HOST --name familiar-chat, but the --name flag is not optional for install. If that’s preferable to others, I’d consider doing that in a follow-up change.

@kriskowal kriskowal force-pushed the kriskowal-cli-install-and-open branch from ef07469 to 472cc60 Compare January 27, 2024 02:11
Copy link
Contributor

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs should be updated to say SELF instead of HOST where appropriate (e.g. for --powers).

@kriskowal kriskowal force-pushed the kriskowal-cli-install-and-open branch from 472cc60 to 3a4fc45 Compare January 27, 2024 02:42
@kriskowal kriskowal requested a review from rekmarks January 27, 2024 02:42
Copy link
Contributor

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kriskowal kriskowal merged commit 56a4079 into endo Jan 30, 2024
14 checks passed
@kriskowal kriskowal deleted the kriskowal-cli-install-and-open branch January 30, 2024 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants