Unitech / Unitech/pm2

Feature request: set up startup script without user input

Open
#5,328 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

What's going wrong?

The current startup script creating process requires users to copy-paste command string in an interactive session.
This makes it impossible to set up pm2 in a non-interactive manner by running a bash script.
Would it be possible to make this process automated? Is there a workaround to execute generated command automatically?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the current startup-script command and the generated command that users must copy and paste. Verify how it behaves in a non-interactive Bash script, then confirm that setup completes without user input and preserves the existing interactive flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, javascript, nodejs
Domain
cli, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.