+
Skip to content

nord73/ndevman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nDevMan

Build

nDevMan is a modular CLI tool to bootstrap and manage development environments — locally, remotely, and on VPS.


🚀 Features

  • Create local development projects (venv, Docker, Git)
  • Setup remote project structures via SSH
  • Create and push GitHub repositories
  • Built-in support for starter templates (fetched live from GitHub)
  • Short, professional CLI commands
  • Optional tab completion with argcomplete
  • Fully self-contained inside .venv
  • GitHub Actions ready: build and verify on every push

📦 Installation

Clone and install into your virtual environment:

git clone https://github.com/YOURUSERNAME/ndevman.git
cd ndevman
pip install .

Or use the included build.sh for clean builds:

chmod +x build.sh
./build.sh

🛠 Usage

Short commands and aliases are supported:

Action Command
Create local project ndevman myproject
Create project from template ndevman new myproject -t basic-python
Setup remote project ndevman setup user@host myproject
Create GitHub repo ndevman gh myproject

View help:

ndevman --help
ndevman <command> --help

📚 Templates

Starter templates are automatically fetched from:

https://github.com/nord73/ndevman-templates

Available built-in templates:

Template Description
basic-python Simple Python project starter
basic-flask Basic Flask web application starter

When using -t basic-python or -t basic-flask, nDevMan will:

  • Download the latest template ZIP archive
  • Extract the correct folder
  • Copy it into your new project

✅ No templates are bundled into the PyPI package — everything fetched dynamically.


⚡ Examples

ndevman myproject
ndevman new myproject -t basic-python
ndevman new myproject -t basic-flask
ndevman setup user@remotehost myproject
ndevman gh myproject --public

🧩 Optional: Enable Tab-Completion

Inside your project .venv, activate argcomplete:

source .venv/argcomplete.sh

You can also add an alias for convenience:

alias argcomplete='source .venv/argcomplete.sh'

📋 Development

  • Modular Python package (ndevman/)

  • Build locally with:

    ./build.sh
  • GitHub Actions automatically builds and verifies every push via .github/workflows/build.yml


📄 License

MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载