katrinahoffert / easy-append Goto Github PK
View Code? Open in Web Editor NEWA simple and powerful text prepending and appending tool
A simple and powerful text prepending and appending tool
Include a shell script for easy running of the program.
This would make it obvious what the parsed input was (as typos in arguments may cause undesirable effects).
A --dry-run
flag should be implemented to perform this without actually writing the files.
Also, display help if a malformed argument occurs.
A command line argument is a poor idea for large amounts of text. An argument should allow providing a path to a file that contains the addition text.
This will increase performance by allowing file content to be garbage collected after it's read instead of waiting until all the files' text additions have been resolved.
ie, don't put the text addition on its own line.
Should explicitly require a --recursive
flag (shorthand -r
) to allow acting on all files.
Perhaps using the Observer pattern.
Update the CLI to use this. Should utilize #9.
This will require a method to calculate a common path that all the files share (never deeper than the current directory and never shallower than the root directory). The modified files will then be placed in some alternative location, in a directory structure relative to this common base folder.
An option should exist to place all the files directly in the folder instead of in this relative directory structure.
The CLI will need an option for specifying this location.
Probably not until after the GUI is made, as it's not really needed with --verbose
on the CLI.
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.