shinyaohtani / master_delivery Goto Github PK
View Code? Open in Web Editor NEWDeliver master files to the appropriate directory you specify
License: MIT License
Deliver master files to the appropriate directory you specify
License: MIT License
Now in dryrun mode, you can understand what commands are executed and in what order. Even if you actually run it instead of dryrun mode, such a display makes it easier to trace where the problem occurred.
-v, --verbose
Now master_delivery
and MasterDelivery
doesn't have test code. This is not an appropriate development. Test code should be prepared immediately
(-m) MASTER_DIR: -m /Users/shinya.ohtani/unix/cloned/work-public/unix-conf (2 master files)
(-d) DELIVER_ROOT: -d /
(-t) DELIVER_TYPE: -t symbolic_link
(-b) BACKUP_ROOT: -b /Users/shinya.ohtani/unix/cloned/work-public/tmp
(-D) DRYRUN: --no-dryrun
Sample (from 2 master files):
master: /Users/shinya.ohtani/unix/cloned/work-public/unix-conf/opt/brew/etc/logrotate.d/screenlog.conf
will be delivered: //opt/brew/etc/logrotate.d/screenlog.conf
and backup: /Users/shinya.ohtani/unix/cloned/work-public/tmp/unix-conf-original-XXXX/opt/brew/etc/logrotate.d/screenlog.conf
done!
Useful in use cases where the master file may be erased.
In v1.0.3, there is a bug that --yes
option does not work.
Simplify as automatically generated codes.
master_delivery carefully displays the parameters before execution, and also displays the execution image using a sample. In many cases, such kind of support makes it possible to execute commands with peace of mind and feels convenient. However, when it's used by other scripts with the same argument every time, it feels inconvenient because there is too much information.
-q, --quiet
Checking is tedious if master_delivery is called from another script. There should be an option to skip.
-y, --yes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.