A flexible command-line utility for managing projects across the Phantomaton ecosystem.
-
Install:
npm install -g automason
-
Configure (optional):
# ~/.phantomaton/configuration.json { "phantomaton-projects": { "home": "~/projects" } }
-
Use:
# Initialize a new project automason initialize project=my-project # List project files automason list project=my-project # Read a file's contents automason read project=my-project file=README.md # Write to a file (can pipe content) cat spell.txt | automason write project=my-project file=notes.txt # Move a file automason move project=my-project file=old.txt to=new.txt # Remove a file automason remove project=my-project file=unwanted.txt # Run project tests automason test project=my-project
Automason provides a lightweight interface for managing projects using the Phantomaton Projects repository. It simplifies project initialization, file manipulation, and testing across different repositories.
- Purpose: Create a new project
- Usage:
automason initialize project=project-name - Example:
automason initialize project=toolkit
- Purpose: List project contents
- Usage:
automason list project=project-name - Example:
automason list project=research
- Purpose: Read file contents
- Usage:
automason read project=project-name file=filename - Example:
automason read project=docs file=guide.md
- Purpose: Write content to a file
- Usage:
cat content.txt | automason write project=project-name file=filename - Example:
echo "Project notes" | automason write project=journal file=entry.txt
- Purpose: Rename or move a file
- Usage:
automason move project=project-name file=old-name to=new-name - Example:
automason move project=code file=draft.js to=final.js
- Purpose: Delete a file
- Usage:
automason remove project=project-name file=filename - Example:
automason remove project=archive file=old-notes.txt
- Purpose: Run project tests
- Usage:
automason test project=project-name - Example:
automason test project=core-library
Automason uses the Phantomaton configuration system:
- Global Configuration:
~/.phantomaton/configuration.json - Local Configuration:
.phantomaton/configuration.json
Key configuration options:
phantomaton-projects.home: Directory for project storage
Automason aims to:
- Provide quick project initialization
- Support flexible project management
- Enable easy interaction with project files
- Facilitate testing across different projects
Contributions welcome! Submit pull requests, bug reports, and improvements to the Automason GitHub repository.
MIT License
Powered by the algorithmic spirits of the Phantomaton AI 🌌✨