Skip to content
/ nest Public

✨ Nest β€” a declarative task runner in Rust that replaces fragile Makefiles & scattered scripts with a clean, maintainable, and composable workflow. πŸ¦€πŸš€

License

Notifications You must be signed in to change notification settings

quonaro/nest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

133 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸͺΊ Nest - Task Runner for CLI Commands

Warning

Important: Highlighting the new syntax! Prefixes like > for directives and @ for keywords are deprecated. Please use the new colon-based syntax (e.g., script: instead of > script).

πŸ“š Full Documentation: quonaro.github.io/Nest

πŸš€ Quick Start

Installation

# Unix (Linux/macOS)
curl -fsSL https://raw.githubusercontent.com/quonaro/nest/main/install.sh | bash

# Windows (PowerShell)
irm https://raw.githubusercontent.com/quonaro/nest/main/install.ps1 | iex

Extensions

Enhance your development experience with syntax highlighting and autocompletion:

πŸ“ Example Nestfile

# Global variables
var APP_NAME = "my-app"

# Build command with parameters
build(target: str = "x86_64"):
    desc: Build the project for the specified target
    env: NODE_ENV=production
    script: |
        echo "Building {{APP_NAME}} for {{target}}..."
        cargo build --target {{target}}

# Test command with dependency
test():
    desc: Run tests
    depends: build
    script: cargo test

# Deploy command with validation
deploy(env: str):
    validate: env in ["staging", "production"]
    script: echo "Deploying to {{env}}..."

πŸ›  Usage

  1. Create a Nestfile in your project root.
  2. Run commands using nest <command>.
  3. Use nest --list to see all available commands.

πŸ–₯️ Terminal UI (TUI)

Nest includes a powerful Terminal User Interface for interactive task management:

nestui

Nest TUI - Command Details Nest TUI - Command List

With nestui, you can:

  • Browse all commands and subcommands.
  • View command descriptions and source code.
  • Interactive argument entry.
  • Search tasks with /.

For more details, advanced features, and examples, visit the official documentation.

About

✨ Nest β€” a declarative task runner in Rust that replaces fragile Makefiles & scattered scripts with a clean, maintainable, and composable workflow. πŸ¦€πŸš€

Topics

Resources

License

Stars

Watchers

Forks