ascii-dresden / asciii Goto Github PK
View Code? Open in Web Editor NEWascii invoicer 3.x
Home Page: http://ascii-dresden.github.io/asciii/
ascii invoicer 3.x
Home Page: http://ascii-dresden.github.io/asciii/
make asciii archive
accept a list of things
ascii csv
Create config file and open editor.
Creates statistics like:
cargo build --features lints
Run this every once in a while.
Leave template tags in document and fill them via command line.
This would be useful for things like payed_date
.
Problem is that these fields would have to be ignored by the checker, preferably use yaml_rust
to find the exact position in the file and replace it without leaving __TEMPLATE__
fields.
This corresponds to ascii-dresden/ascii-invoicer#6
Add a setup
command that creates the storage dir and perhaps even clones it.
๐ฐ There are little easter egg challenges for aspiring rustaceans hidden all over this project.
The original function of the ascii invoicer is probably the last thing I will implement here before shipping v3.0.0
This includes:
the format should have a field indicating if the wages have been payed to caterers
open pdf documents with default desktop tool
use --verbose
flag
When editing a file, create a tempfile and evalute it before copying it back
.yaml
formatA lot of the things in here already work well. But I want to prove that and making the code more testable might improve the design.
Move logic from cli/subcommands.rs
to extra actions
module.
Currently there is ascii invoice
and ascii offer
to create each output, and ascii open --invoice
etc to open them.
ascii v2.5.12 added that ascii show
would automatically show an invoice if the even was in the past and an offer if the event is still in the future.
This could be adapted to a new asciii make
which will automatically create an offer or invoice, depending on the date in relation to the event's date. It can also be explicitly done with sth like asciii make --invoice
(#23).
asciii open should behave the same, but in case the file is not up to date, or not yet created, implicitely create it with
asciii make`.
Add logging of everything that might go wrong or right, because people
Commands like list
-> ls
etc as in the original
produce a comprehensive search
Make it work on Windows cmd or powershell
Initing clap via yml is nice, but feature gating certain sub commands may require the src/cli/cli.yml to be replaced by conventional builder pattern initialization of clap.
This could mostly be done with $ sed
read manager_name
from git config
use --debug
flag
libgit2 functionality could be made optional without sacrificing git functionality all together, since basic support can still be achieved by shelling out to plain old git.
What would be lost would be the neat little status icons in the listing, what would be gained is simpler portability (raspi, travis) since building libgit2 and libssl2 seems to be non trivial here and there
highlight the green checks in the list if the corresponding pdf file exists
split up the binary and library for reusability
Make asciii a frontend for the underlying git repository
add asciii send --invoice
, which sends the resulting file via mail
keep deleted listed but display as deleted
Allow searching with either concrete queries, like: event/name:foobar
or products:coffee
or braindead fulltext search.
The first would be more precise.
Fulltext search may seem simpler, but currently there is no facility to open project files as plaintext, they are always available as yaml_rust::Yaml
.
Tipp: check out strsim, it is already an indirect dependency through clap-rs
at least as pretty as that of the original ๐
but remember
--invoice
and --offer
flagslist
--wages
--no-colors
--filter
--caterers
--blockers
--edit <index>
(--archive [<year>]
(with default value)edit
--config
show
--errors
output
( = path --output
calendar
๐since this may be via putty, what about running a temporary webserver to allow downloading produced pdf files
Everything is blazingly face, except printing to the commandline, why?
Check out benchmarking!
Check if storage dir structure is ok (templates missing etc)
OMFG, howmagonnadodat?
If we ever have an internal git[hub/lab/something], creating a readme.md
for each project folder would make for better readability.
add emoji emblems to label if a project
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.