Giter Site home page Giter Site logo

quokka's People

Contributors

mycoboco avatar

Stargazers

 avatar

Watchers

 avatar  avatar

quokka's Issues

-n option needs to override -v option

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.

add FAQs

Necessary to add FAQs document.

refactor code

  • apply new coding style
  • change directory structure

run quokka on a huge list of names

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.

improve FAQs

FAQs need to deal with smart auto-completion, escaped spaces and one-line multi-commands.

one-line explanation for commands would be helpful

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'?

improve the import command

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.

separate "extension" from quokka.js

To aid introduction of new features to quokka, it is necessary to separate functions that implement features from the main code, quokka.js.

handle spaces in a consistent way

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.

remove multiple appearances of command names

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.

implement "describe" feature

As rules have complicated features, users may need to see what the net effect of their rule before applying it with the `done' command.

fix bug related to running command

#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

smart auto-completion needed

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.

possible problems from import command need to be considered

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:

  • arbitrary byte sequence inserted into file names
  • white-spaces not correctly in the current version (handling them consistently is filed as another ticket)

modifications to libraries should be moved out of node_modules

To publish the project to npm, all modifications to the libraries need to be moved out of node_modules.

  1. the none property added to colors.js may be able to be implemented with no touch on the file.
  2. since alphanum.js is not a npm module, it should be kept in lib/ not in node_modules/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.