0.5.92 • Published 2 years ago

dat-tool v0.5.92

Weekly downloads
-
License
GPL-3.0+
Repository
github
Last release
2 years ago

DAT - Developer Automation Tool (V 0.5 - BETA)

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 :)

Design Principles

  • 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

Available libraries

  • 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

get-started

  • 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}

hello world! sample

  • dat m -n first_play
  • cd first_play
  • dat p

Roadmap

  • 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

Authors

DAT was created by madkne.

License

GNU General Public License v3.0 or later

0.5.92

2 years ago

0.5.91

2 years ago

0.5.8

2 years ago

0.5.9

2 years ago

0.5.5

2 years ago

0.5.3

2 years ago

0.5.1

2 years ago

0.4.4

3 years ago

0.4.7

3 years ago

0.3.7

3 years ago

0.4.1

3 years ago

0.2.3

3 years ago

0.2.1

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago