Skip to content

Conversation

@andrewjong
Copy link
Member

@andrewjong andrewjong commented Apr 4, 2025

This PR adds a new airstack CLI tool to simplify common development tasks.

Features:

  • Installation: ./airstack.sh install installs Docker Engine, Docker Compose, etc.
  • Setup: ./airstack.sh setup configures private keys and adds the airstack tool to shell profile
  • Container Management: airstack up, airstack connect, airstack down etc. for managing Docker containers
  • Smart Container Matching: Partial name matching for containers with interactive selection when multiple matches are found
  • Extensible Architecture: Modular design allows easy addition of new commands

Implementation Details:

  • Written in Bash for maximum compatibility
  • Includes comprehensive help system
  • Supports multiple operating systems
  • Provides detailed documentation in .airstack/README.md

@andrewjong andrewjong changed the base branch from main to develop April 4, 2025 04:52
@andrewjong andrewjong marked this pull request as ready for review May 1, 2025 20:03
@andrewjong
Copy link
Member Author

andrewjong commented May 1, 2025

FYI @jfkeller @adityarauniyar , this integrates in the previous ./configure.sh and WINTAK installation scripts as well. Now it's all together within the airstack cli tool.

these commands work for wintak:

  • ./airstack.sh install --with-wintak
  • airstack wintak:start
  • airstack wintak:stop

@jfkeller
Copy link
Collaborator

jfkeller commented May 6, 2025

The readme mentions launch but I think it has been replaced with up.

I think there might be issues if there are multiple installations of airstack. I often have multiple for my own development, checking the most recent branch, and checking pull requests. When I cloned two airstack repos, the install script on the second didn't modify the bashrc so I think it the airstack command is looking in the first repo. Maybe it isn't an issue if people aren't expected to have multiple instances.

I didn't try the wintak related commands.

@andrewjong
Copy link
Member Author

Thanks John!

Fixed the README.

For multiple installations, I've updated the airstack function to search up the directory tree for airstack.sh. This way you can have multiple repositories installed and it will call the script that's part of the repo you're under.

@andrewjong
Copy link
Member Author

John approved over Slack, merging.

@andrewjong andrewjong merged commit f3f93a5 into develop May 8, 2025
@andrewjong andrewjong deleted the add-airstack-cli-tool branch November 17, 2025 22:38
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.

4 participants