Skip to content

thothforge/thothmaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thothmaster CLI

Thothmaster is a command-line tool for managing developer workstations, focusing on installing and configuring common development tools.

Features

  • Install and update development tools
  • Configure system settings
  • Simple and consistent interface
  • Version-specific installations for supported tools
  • Automated dependency management
  • Cross-platform compatibility

Installation

Clone this repository and make the main script executable:

git clone https://github.com/yourusername/thothmaster.git
cd thothmaster
chmod +x thothmaster.nu

To make Thothmaster accessible from anywhere in your system (requires Nushell):

# Option 1: Create a symbolic link in /usr/local/bin (requires sudo)
sudo ln -sf /path/to/thothmaster/thothmaster.nu /usr/local/bin/thothmaster

# Option 2: Create a symbolic link in your user's bin directory
mkdir -p ~/bin
ln -sf /path/to/thothmaster/thothmaster.nu ~/bin/thothmaster

Make sure your ~/bin directory is in your PATH if using Option 2.

Usage

thothmaster <command> [options]

Or if running directly from the installation directory:

./thothmaster.nu <command> [options]

Available Commands

  • install - Install or update tools and software
  • config - Configure system settings (not implemented yet)
  • version - Show version information

Install Command

thothmaster install <target> [options]

Available Targets

  • sam - Install AWS SAM CLI
  • docker - Install Docker
  • aws-cli - Install AWS CLI (not implemented yet)
  • node - Install Node.js (not implemented yet)
  • terragrunt - Install Terragrunt (supports version specification)
  • amazon-q - Install Amazon Q for command line
  • all - Install all available tools

Options

  • --help, -h - Show help message
  • --version, -v <version> - Specify version for tools that support it (currently only terragrunt)

Examples

Install the latest version of Terragrunt:

thothmaster install terragrunt

Install a specific version of Terragrunt:

thothmaster install terragrunt --version v0.77.22

Install Amazon Q for command line:

thothmaster install amazon-q

Install AWS SAM CLI:

thothmaster install sam

Install Docker:

thothmaster install docker

Install all available tools:

thothmaster install all

Show version information:

thothmaster version

Get help for any command:

thothmaster --help
thothmaster install --help

Project Structure

  • thothmaster.nu - Main entry point
  • main.nu - Core functionality and command routing
  • lib/ - Utility functions
    • utils.nu - General utilities
    • ui.nu - UI-related functions
  • commands/ - Command implementations
    • install/ - Installation scripts for various tools
      • sam.nu - AWS SAM CLI installation
      • docker.nu - Docker installation
      • terragrunt.nu - Terragrunt installation with version support
      • amazon_q.nu - Amazon Q CLI installation
      • all.nu - Install all tools

Requirements

  • Nushell - The shell used for the scripts
  • Internet connection for downloading tools
  • Sudo privileges for installing tools system-wide
  • Compatible operating system (Linux/macOS/Windows with appropriate package managers)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

About

A nu shell CLI to botstrap DevSecOps local environment for Platform engineers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published