DAT is a simple IT automation system for developers. It handles configuration management and application deployment. DAT can be run dependencies of your script. you can add multiple scripts and load them to main play script. and you LOVE it because you can write play scripts in typescript :)
- Have an extremely simple setup process with a minimal learning curve.
- Allow module development
- using typescript for generate play scripts
- Providing useful libraries for helping
- apt: run apt-get commands
- input: get types of input link select or text from user
- log: print output as different statuses
- os: provide useful functions
- play: for playing other scripts
- docker: run docker commands
- git: run git commands
- systemctl: run and Control the systemd system and service manager
- env: save and load env variables used in play script
- settings: set global variables
- ssh: using
ssh2
nad can run ssh commands - argvs: parse script argvs
- template: parse and render template string or file with
nunjucks
engine - net: useful functions for network
- cronjob: functions for using cronjobs
- install node.js 12 or higher
- install with npm:
npm i dat-tool -g
- when you install dat-tool, get permission denied error:
- on Linux:
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
- on Linux:
dat m -n first_play
cd first_play
dat p
- you need one file:
- play.ts: a play script that run your commands on typescript
- and you have many libraries and other scripts than can play them!
- you can also run a play script from git like
dat pg -n install-docker -a i
DAT was created by madkne.
GNU General Public License v3.0 or later