Skip to content

Java application for Linux to make setting up your Linux server or workstation a breeze. sh.adow monitors shell commands and package installations to create a single script used for bootstrapping your linux install.

License

Notifications You must be signed in to change notification settings

exopacket/sh.adow

Repository files navigation

sh.adow

Work in progress

The built .jar is located in the target directory. Use the file labeled 'with-dependencies'

To initialize the configuration run
java -jar shadow.jar cli configure-defaults

To run the interactive shell
java -jar shadow.jar cli capture

To create a shell script of your history (limited functionality)
java -jar shadow.jar cli bootstrap export /path/to/save/script

This is a powerful application. At this stage, technical knowledge is required for successful use. Use at your own risk. (Don't run the output unless you know what you're doing)

To-do

  • create interactive interface for listing 'last' commands by ranges
  • check if package is already installed, available, and print more information about installation
  • write logic for variables
  • rewrite prompts for the 'branch' command
  • write logic for showInfo() function
  • write help command output
  • add commands to skip in config (will not skip if output is redirected)
  • branch merge feature / generate shell script for project
  • generate archive for offline projects
  • write shell code wrappers for the java application

Interactive Shell usage

Type these commands into the interactive shell to fine tune how your terminal session is tracked.

ignore begin ignoring commands entered into the terminal
continue stop ignoring and keep track of commands
forget erase every command history in the current branch
edit open a file in your preferred text editor for editing and store the result
install install a package (downloads and stores with offline flag set). Must run .jar as root user or have appropriate sudo rights w/o a passwsord.
last [n] iterate through the previous commands
export|var set an environment variable
branch end current branch and start a new one
exit exit the interactive terminal
help list these commands and their information

About

Java application for Linux to make setting up your Linux server or workstation a breeze. sh.adow monitors shell commands and package installations to create a single script used for bootstrapping your linux install.

Topics

Resources

License

Stars

Watchers

Forks