mycoboco / quokka Goto Github PK
View Code? Open in Web Editor NEWan interactive file renamer
Home Page: http://code.woong.org/quokka
License: Other
an interactive file renamer
Home Page: http://code.woong.org/quokka
License: Other
When a user run quokka with the -v
option by an alias set or a shell script as specified in INSTALL.md
, it becames impossible to keep the original order of file names with the -n
option because -n
is active only when there is no -v
.
Necessary to add FAQs document.
quokka has been tested only on a moderately large list of file names to rename and needs to be tested on a larger one for both performance and convenience.
FAQs need to deal with smart auto-completion, escaped spaces and one-line multi-commands.
Because there are no extra explanations for supported commands (rule modes), users are not easy to figure out what job a certain command performs unless they enter that mode; for example, what is the difference of 'delete' than 'remove'?
It would be useful for imported lines to be parsed with a field separator like a tab before inserted into file names, which is easy to implement.
To aid introduction of new features to quokka, it is necessary to separate functions that implement features from the main code, quokka.js
.
There are cases where auto-completion goes wrong; necessary to stress-test auto-completion and to fix bugs found.
wcwidth.js
now published on npm. It is necessary to replace the file with the npm package.
Even if all kinds of spaces distinguish commands from their arguments or other commands, escaping with backslashes applies only to a normal space, for example, when constructing a list for auto-completion. This should be fixed so that all white-spaces have to be dealt with in a consistent way.
Even when extensions are being skipped by setting "skip extension", auto-completion includes characters from extensions, which sometimes confuses users.
In code for each command, there are multiple appearances of a command name, which requires cumbersome replacement because a new command is more easily implemented by copying and modifying an existing one.
By introducing a variable to contain command names, that would be simpler.
As rules have complicated features, users may need to see what the net effect of their rule before applying it with the `done' command.
$ quokka 20131217-160115.avi
> #extension change to aot[tab]
(no space after aot
) gives
> #extension change to aot31217-160115.avi
#delete> #delete from position 20 until end
/home/mycoboco/script/quokka/src/quokka.js:733
cset.cmd(t.cmd).func(t.param);
^
TypeError: Cannot call method 'func' of undefined
The current auto-completion for quokka always lists up commands available even when arguments for a command (strings from file names in most cases) are requested.
It would be more useful if proper candidates show up depending on user input.
The import command reads lines from an external file to insert into file names, which might lead to problematic cases that require special handling like:
Move explanations in FAQs into README.md to make public access easier.
To publish the project to npm, all modifications to the libraries need to be moved out of node_modules
.
none
property added to colors.js
may be able to be implemented with no touch on the file.alphanum.js
is not a npm module, it should be kept in lib/
not in node_modules/
.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.