galtsev / clipf Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/clipf
License: GNU General Public License v2.0
Automatically exported from code.google.com/p/clipf
License: GNU General Public License v2.0
Contacts: Developer: Galtsev Denis <[email protected]> Project site: http://code.google.com/p/clipf/ Installation: Not required. It is simple python script. Put it to any directory in Your PATH Configuration: Not required. Program would create config directory and empty database at start, if config directory doesn't exists (default to "~/.clipf/"). Usage description: clipf [<config_path>] - start clipf with coniguration in <config_path> (default to ~/.clipf). If config_path doesn't exists, it would be created with appropriate defaults. All commands described in embedded help. Type "help" in command line to see list of available commands, and "help <command>" for help about particular command. Before further use, You need to enter some income/expense categories: >prod add [-d] <prod_code> <prod_name> -d options mark this category as debt (income). Category is credit (expense) by default. Examples: # enter category codes with trailing period >prod add meal. Meals # p shortcuts to prod >p add meal.drink. Drinks # Enter category names with spaces in quotes >p add meal.drink.beer "My preferred beer" >p add meal.juice Juice >p add meal.cookie Cookie >p add meal.nuts "Roasted nuts" # You need identify category as income during creation >p add -d salary Salary Now You can see Your category list: >prod ls [<prod_group>] - show _one_ level of category tree (default to root). Example: >prod ls >prod ls meal. Remove products with: >prod rm <prod_code> Now You can enter some operations: >op add [-a <account>] [-d <date>] <prod_code> <amount> [<note>] * -a <account> - override default account for this operation. * -d <date> - override default date for this operation. Enter date in "YYYY-MM-DD" format. Examples # Entering starting remain as salary >op add salary 450.0 "Starting remain" # now some expenses: >op add meal.drink.beer 5.5 >op add meal.nuts 3.45 "Nuts to beer" >op add meal.cookie 2.80 Use tab completion to enter long prod codes (press <tab> once or twice during prod_code entering). List entered operations with: >op ls [<prod_code_pattern>] - show list of operations in selected period (see {{{set}}}) * <prod_code_pattern> - show operations with prod_code starting with prod_code_pattern Delete operation: impossible. You need to enter the same operation with negative amount to revoke already entered operation. Now let's list and change some defaults: # see list of options >show #set option value >set <option_name> <option_value> options description: * *date* - default date for new operations * *acc* - default account for new operations * *date_from, date_to* - period for all listings ({{{op ls}}} and reports * *max_lines* - if show operation output in pager (less) if output length is more, than <max_lines> lines. Reports >rep prod [<prod_group>] >rep acc Example: # set period for reports >set date_from 2008-03-01 >set date_to 2008_03-31 # show totals by top level groups >rep prod # show details for meal. group >rep prod meal. # turnover by accounts >rep acc Other useful features: Program understand input stream redirection: $echo -e "set date_from 2008-04-01\nop ls" | clipf - this can be used to save reports. You can setup aliases (shortcuts) for frequently used operations in config file (default to ~/.clipf/clipf.conf). See configuration file for examples.
embedded calculator required
Original issue reported on code.google.com by [email protected]
on 30 Apr 2008 at 8:16
clipf is very good, but it lack this functionnality IMHO.
The op ls is not very helpfull without the possiblity to see always the last x
days.
Thanks
Original issue reported on code.google.com by [email protected]
on 25 Jun 2010 at 12:24
-
Original issue reported on code.google.com by [email protected]
on 28 Apr 2008 at 1:26
Embedded help system required
Original issue reported on code.google.com by [email protected]
on 28 Apr 2008 at 7:23
add "prod mv <from_code> <to_code>" subcommand to rename/move item
subtrees.
Original issue reported on code.google.com by [email protected]
on 28 Apr 2008 at 1:38
Allow input in different encodings
Original issue reported on code.google.com by [email protected]
on 28 Apr 2008 at 7:27
User typed dates now stored as-is, without format checking.
Original issue reported on code.google.com by [email protected]
on 1 May 2008 at 10:12
Item list appear in random order. Need to be sorted by item_code.
Original issue reported on code.google.com by [email protected]
on 29 Apr 2008 at 9:05
Configurable command aliases like
oo="op add"
ol="op ls"
Original issue reported on code.google.com by [email protected]
on 28 Apr 2008 at 7:25
Allow arbitrary command output piping like this:
op ls | cat >~/reports/oplist$(date +%F).txt
rep prod food. | mail [email protected] -s "Food expenses report"
Original issue reported on code.google.com by [email protected]
on 28 Apr 2008 at 7:39
Data files use colon-separated text format. If colon exists in user input,
it would break data file.
Original issue reported on code.google.com by [email protected]
on 1 May 2008 at 10:10
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.