Skip to content

m devcontainer bashrc

Print a bash snippet of setup instructions.

This snippet can be used in a .bashrc file to setup the environment. It will also provide aliases that call other m commands to help facilitate the development in a devcontainer workflow.

Source code in m/cli/commands/devcontainer/bashrc.py
class Arguments(BaseModel):
    """Print a bash snippet of setup instructions.

    This snippet can be used in a `.bashrc` file to setup the environment.
    It will also provide aliases that call other `m` commands to help
    facilitate the development in a devcontainer workflow.

    """

    section: str | None = ArgProxy(
        '--section',
        choices=['env', 'devex', 'venv'],
        help='section to print out',
    )

Options

--section

  • choices: env, devex, venv

section to print out