Coder Social home page Coder Social logo

rcctalk's Introduction

rcctalk

License Star

Powerful command line utility to communicate with RCCService instances

Screenshot

Usage

rcctalk is a console application that can be installed by cloning the repository and then running the command npm i -g to install it system-wide. You can then easily open the rcctalk shell from the command line by entering rcctalk. For further instructions, please run rcctalk --help or type help into the shell.

Example operations

  • OpenJob("sampleJobId123", "return 'Hello world!'") -> Opens a job and returns Hello world!
  • CloseAllJobs() -> Closes every job on the connected RCCService instance
  • Execute("sampleJobId123", "local a, b = ...; return b .. " " .. a;", ["spaghetti", "cook"]) -> Will return cook spaghetti assuming a job with ID sampleJobId123 exists

Optional parameters are denoted with a question mark and don't always have to be set, but if there are multiple optional parameters in a sequence then they must be inputted according to their order denoted in the help menu.

Eval

rcctalk uses an extended sandboxed version of JavaScript's inbuilt eval function to parse operation parameters, allowing you to take advantage of JavaScript functions and utilize mathematical operators to achieve even more powerful access to RCCService. Here are some examples:

  • Execute("sampleJobId123", "return " + Math.pow(6, 2)) -> Will return 36
  • Execute("sampleJobId123", fs.readFileSync("c:\\gameserver.txt")) -> Will read from c:\gameserver.txt and send that script to RCCService

License

rcctalk is licensed under the MIT license. A copy of it has been included with rcctalk.

rcctalk's People

Contributors

rjindael avatar dependabot[bot] avatar

Stargazers

 avatar axel avatar Tiramisu avatar Lewin Kelly avatar  avatar Redus avatar Aep avatar ZyroX avatar obama avatar unexp avatar  avatar  avatar cirro avatar Trubo avatar  avatar  avatar  avatar kit avatar  avatar  avatar sorket avatar  avatar

Forkers

kap-ish

rcctalk's Issues

ns1:HelloWorld error

Error in response (RCCService error - Method 'ns1:HelloWorld' not implemented: method name or namespace not recognized)

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.