GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cli/README.md at master · ddnet-insta/cli

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
28 lines (19 loc) · 962 Bytes
/

README.md

Copy path

File metadata and controls

28 lines (19 loc) · 962 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

cli

A command line tool written in ruby. That is supposed to help with boiler plate code in the ddnet-insta project.

This tool is heavily inspired by the rails cli.

example usage

Go to your ddnet-insta source code and run the following command:

./scripts/cli generate controller battle_gores:base_pvp

This will create the following output

[*] created file src/insta/server/gamemodes/battle_gores/battle_gores.h
[*] created file src/insta/server/gamemodes/battle_gores/battle_gores.cpp
[*] adding files to CMakeLists.txt

The string battle_gores is the new gamemode name you can choose freely. And base_pvp is the parent controller you inherit from. You can also use insta_core instead. If you provide no arguments at all the cli tool is fully interactive and will ask you for all the values it needs.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.