Skip to content

infinitez-one/ballpoint

 
 

Repository files navigation

Ballpoint

A CLI for formatting ink files

Also available in web app form

Get Started

Step 1 Install node.js

use nvm to install node

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
nvm install 18
nvm use 18

Step 2 Ballpoint

npm install -g @little-bonsai/ballpoint

Step 3 Run

ballpoint **/*.ink

Acknowledgements

This would not have been possible without the great work of

Contributing

Bug Reports and PRs are very welcome.

If filing a bug report, please include:

  • your original ink code
  • how it was formatted
  • how it should be formatted
  • any additional information

If opening a MR, please include:

  • a description of the change
  • at least 1 test showing the input and output

TODO

  • npm publish
  • repeated application test
  • tags
  • multiple tags
  • ref arguments
  • INCLUDE handling
  • web hosted
    • basic hosting
    • error reporting
  • comments
  • directives based approach
  • api?
  • multi-lined multi-conditioned choices
  • dynamic tags
  • PR GetType overrides into inkjs
  • PR Parser export into inkj
  • sort INCLUDEs option
  • make package available as importable lib
  • look at integrating into inky

About

cli for formatting ink files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.7%
  • Ink 38.0%
  • HTML 1.3%