Skip to content

Lux cli#1977

Merged
esoteric-ephemera merged 2 commits into
masterfrom
lux-cli
Jan 15, 2026
Merged

Lux cli#1977
esoteric-ephemera merged 2 commits into
masterfrom
lux-cli

Conversation

@tsmathis

@tsmathis tsmathis commented Dec 9, 2025

Copy link
Copy Markdown
Collaborator

@esoteric-ephemera, should we have a cli?

Needs input validation and guardrails to prevent destructive behavior, but basic interactive use for scaffolding:

lux) ~/dev/MPContribs/mpcontribs-lux lux-cli > lux project scaffold
Name space for user project: tsmathis
Structure of user project [directory, module]: directory
Project names to scaffold in user project name space: projA projB
Include analysis module? [y/N]: N
Include pipeline module? [y/N]: y
Include project README.md? [y/N]: y
Include file for extra python requirements/libraries? [y/N]: N
The following project scaffold will be created in 'mpcontribs-lux.mpcontribs.projects':
 tsmathis
├──  projA
│   ├──  pipelines
│   │   ├── __init__.py
│   │   └── pipeline_1.py
│   ├──  schemas
│   │   ├── __init__.py
│   │   └── schema_1.py
│   ├── __init__.py
│   └── README.md
└──  projB
    ├──  pipelines
    │   ├── __init__.py
    │   └── pipeline_1.py
    ├──  schemas
    │   ├── __init__.py
    │   └── schema_1.py
    ├── __init__.py
    └── README.md
Proceed? y/N [y/N]: y
Project scaffold created at 'mpcontribs-lux.mpcontribs.projects.tsmathis'!

can add other utilities as well

@tsmathis
tsmathis changed the base branch from master to schemas December 9, 2025 01:46
@tsmathis

tsmathis commented Dec 9, 2025

Copy link
Copy Markdown
Collaborator Author

module scaffold structure:

(lux) ~/dev/MPContribs/mpcontribs-lux lux-cli > lux project scaffold --user-space tsmathis --projects projA --projects projB --structure module --include-analysis --include-pipeline
The following project scaffold will be created in 'mpcontribs-lux.mpcontribs.projects':
 tsmathis
├──  projA
│   ├── __init__.py
│   ├── analysis_1.py
│   ├── pip-extra-requirements.txt
│   ├── pipeline_1.py
│   ├── README.md
│   └── schema_1.py
└──  projB
    ├── __init__.py
    ├── analysis_1.py
    ├── pip-extra-requirements.txt
    ├── pipeline_1.py
    ├── README.md
    └── schema_1.py
Proceed? y/N [y/N]: N
Aborted!

@esoteric-ephemera

Copy link
Copy Markdown
Collaborator

Sure! Either a CLI or a notebook/something for standardizing the structure would be good. Maybe just moving the cli into the lux namespace fully + adding a __main__.py to run the cli?

@tsmathis

tsmathis commented Dec 9, 2025

Copy link
Copy Markdown
Collaborator Author

Sure! Either a CLI or a notebook/something for standardizing the structure would be good. Maybe just moving the cli into the lux namespace fully + adding a __main__.py to run the cli?

Sure, can do 👍

Base automatically changed from schemas to master December 9, 2025 19:55
@esoteric-ephemera
esoteric-ephemera merged commit fae6520 into master Jan 15, 2026
3 checks passed
@esoteric-ephemera
esoteric-ephemera deleted the lux-cli branch January 15, 2026 18:39
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