Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

feat(install): Allow creating installs using only command line options #51

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

hlxid
Copy link
Member

@hlxid hlxid commented Dec 3, 2021

When no interactive session is available inquirer doesn't work, e.g.
in Dockerfiles or automated scripts.
In theses cases you can use the command line options that are added with
this PR.

E.g. install a dev install:

nodecg-io install --nodecg-io-version development --samples

Or create a production install using a specific list of servies:

nodecg-io install --nodecg-io-version 0.1 --service twitch-chat --service discord

Create a production install with all available services installed:

nodecg-io install --nodecg-io-version 0.2 --all-services

When no interactive session is available `inquirer` doesn't work, e.g.
in Dockerfiles or automated scripts.
In theses cases you can use the command line options that are added with
this PR.

E.g. install a dev install:
```shell
nodecg-io install --nodecg-io-version development --samples
```

Or create a production install using a specific list of servies:
```shell
nodecg-io install --nodecg-io-version 0.1 --service twitch-chat
--service discord
```

Create a production install with all available services installed:
```shell
nodecg-io install --nodecg-io-version 0.2 --all-services
```
@hlxid hlxid changed the title Allow creating installs using only command line options feat(install): Allow creating installs using only command line options Dec 4, 2021
@hlxid hlxid merged commit 6ee2c74 into next Dec 6, 2021
@hlxid hlxid deleted the feat/install-cli-opts branch December 6, 2021 19:51
hlxid added a commit that referenced this pull request Dec 17, 2021
#51)

When no interactive session is available `inquirer` doesn't work, e.g.
in Dockerfiles or automated scripts.
In theses cases you can use the command line options that are added with
this PR.

E.g. install a dev install:
```shell
nodecg-io install --nodecg-io-version development --samples
```

Or create a production install using a specific list of servies:
```shell
nodecg-io install --nodecg-io-version 0.1 --service twitch-chat
--service discord
```

Create a production install with all available services installed:
```shell
nodecg-io install --nodecg-io-version 0.2 --all-services
```
@hlxid hlxid mentioned this pull request Dec 17, 2021
github-actions bot pushed a commit that referenced this pull request Dec 17, 2021
# [0.3.0](v0.2.0...v0.3.0) (2021-12-17)

### Features

* **generate:** Add support for generating bundles with dev installs ([#62](#62)) ([c0cd7d9](c0cd7d9))
* **install:** Allow creating installs using only command line options ([#51](#51)) ([20014e7](20014e7))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant