Giter Site home page Giter Site logo

w4bremer / cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apigear-io/cli

0.0 0.0 0.0 29.23 MB

The ApiGear client as go project

Home Page: https://apigear.io

License: MIT License

JavaScript 0.02% Java 9.84% Go 89.64% ANTLR 0.34% Makefile 0.16% Smarty 0.01%

cli's Introduction

ApiGear CLI

CLI Flags

Command line documentation is available in the docs folder.

Install

ApiGear CLI is a command line application that runs on Windows, Mac and Linux. You can download the latest version from the release page.

Note: The product has not yet a certification from Microsoft, Apple or Linux. So you may need to disable the security check to run the application.

Building from source

Install latest Go from Go Dev

build using

go build ./cmd/apigear

and use apigear command line:

./apigear --help

Development

For development you need some environment variables:

export APIGEAR_GIT_PUBLIC_TOKEN=your_token
export APIGEAR_GIT_AUTH_TOKEN=your_token

The git public token provides access to public repositories. The git auth token provides access to private template repositories.

You can build and run the project using the following commands:

go run cmd/apigear/main.go --help

To build the project:

go build ./cmd/apigear

To run all the tests:

```bash
go test "./..."

To run the debugger

dlv debug cmd/apigear/main.go -- --help

Program Settings

Settings are stored in the file ~/.apigear/config.json. The file is created automatically when the first command is executed.

Log Files

Log files are stored in the file ~/.apigear/*.log. Outdated log-files are automatically deleted.

Template Cache

The template cache is stored in the file ~/.apigear/templates. The file is created automatically when a template is downloaded from a git-repository.

Template Registry

The template registry is stored in the file ~/.apigear/registry/registry.json. The file is created automatically when the registry is updated. The registry is currently hosted on github.

cli's People

Contributors

jryannel avatar w4bremer avatar dorotaphansiili 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.