VisionSystemsInc / VisionSystemsInc/vsi_common

singular-compose does not support a default command

Open
#399 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature just linux
Dominant language
Shell
Stars
8
Forks
9
Avg merge
36m
Merged PRs (30d)
1

Description

A _default_command should probably be added to the singular-compose.env file format, so that. Right now there is no way to duplicate the command: line in a docker-compose file.

  • This would not cover overriding the entrypoint, which is less important.
  • This would only trigger if ${@} was empty, for both instance strart and run

Contributor guide

No contributing guide indexed for this repository

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 locating the singular-compose.env format and the handling for instance start and run. Trace when ${@} is empty and determine how a _default_command should duplicate the Docker Compose command: behavior without overriding the entrypoint. Done means the default applies in both cases only when no arguments are supplied.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, shell
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.