Coder Social home page Coder Social logo

csecmd's Introduction

CSECmd

CSECmd is a utility-based tool designed to assist with running UNSW CSE specific commands such as autotest and give on a local machine.

It is powered by Rust as I want to learn Rust.

Installation

To install CSECmd directly from source using Cargo, execute the below command:

cargo install csecmd --git [email protected]:Sheeplet1/CSECmd.git

Configuration and Usage

After installation, navigate to the directory where you want to execute the command.

cd /path/to/your/work
# Example: cd ~/cs6991/weekly_exercises/wk1/exercise01

To use CSECmd, run as follows:

csecmd <your_command>
# Example: csecmd "6991 autotest" or csecmd "6991 give-crate"

Configuration Details

After the initial installation and execution, CSECmd will prompt you to modify a TOML configuration file. This file contains settings for connecting to CSE servers, including server details and authentication method.

After completing the configuration setup, re-run CSECmd in your project directory.

Server Configuration

[server]
addr = "cse.unsw.edu.au"    # Do not change.
port = 22                   # Do not change.
user = "z5555555"           # Change this.

Authentication Configuration

At the moment, there is only password authentication. Future plans is to allow for SSH keys and SSH agents.

1. Password Authentication

[auth]
auth_type = "password"
password = "changeme"   # Optional. Recommended to fill in for convenience.

Examples

TODO

csecmd's People

Contributors

sheeplet1 avatar

Watchers

 avatar

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.