GithubHelp home page GithubHelp logo

ryver's Introduction

Ryver🌊

A Cli that generates luau/ts files from spreadsheets

📥Install

With Aftman

Add an entry to the [tools] section of aftman.toml:

river = "piquu/[email protected]"

Or use the aftman Cli to add it:

aftman add piquu/ryver

With cargo

cargo install ryver

📕Usage

Arguments

  • -f, --file <FILE>
    • Input file: .xlsx, .xlsm, .xlsb, .xls
  • -o, --out <FOLDER>
    • Folder where the luau/ts files are put
  • -s, --sheet <SHEET>
    • Sheets that luau/ts files should be generated for
  • -i, --ignore-sheet
    • Sheets that luau/ts files wont be generated for
  • --table-name <NUMBER>
    • Spreadsheet column thats used as the table/object name
  • -n, --no-type
    • Dont add export type .../export interface ... to the luau/ts file
  • -t, --typescript
    • Generate a ts file instead of a luau file

Example

ryver -f example.xlsx -o ./out
ryver -f test.xlsx -o ./out -s Sheet1 -s Sheet2 --table-name 2 -t -n

✅Todo

  • Add csv/tsv support
  • Add Google Sheets support
  • Add support for table/object names/entries with spaces

📋License

Ryver is licensed under the MIT license.

ryver's People

Contributors

piquu avatar

Watchers

 avatar

Forkers

chi-eee

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.