Coder Social home page Coder Social logo

fdio's Introduction

fdio - Flogo Dot IO

A command-line interface for the Flogo Dot IO website. This tool is designed to help create the items.toml from which the showcase and the flogo cli can get their search results.

Installing

There are a few ways to install this project

Get the sources

You can get the sources for this project by simply running

go get -u github.com/retgits/fdio/...

You can create a binary using the install command

go install ./...

Build from source

To build the fdio command-line interface simply run go build. This does require your system to have gcc installed. To build for Windows, you'll need to have CGO enabled

GOOS=windows CGO_ENABLED=1 CC="x86_64-w64-mingw32-gcc" go build

You might need additional packages if you're running this command on a Linux system (like apt-get install gcc-mingw-w64-x86-64 mingw-w64-x86-64-dev)

Usage

A command-line interface for the Flogo Dot IO website

Usage:
  fdio [command]

Available Commands:
  crawl       Crawls GitHub to find new activities and triggers
  help        Help about any command
  init        Initialize the database in a new location
  query       Run a query against the database
  stats       Get statistics from the database

Flags:
      --db string   The path to the database (required)
  -h, --help        help for fdio
      --version     version for fdio

Use "fdio [command] --help" for more information about a command.

Crawl

Crawls GitHub to find new activities and triggers

Usage:
  fdio crawl [flags]

Flags:
  -h, --help            help for crawl
      --timeout float   The number of hours between now and the last repo update
      --type string     The type to look for, either trigger or activity (required)

Global Flags:
      --db string   The path to the database (required)

The crawl command will create a .crawl file which lists the last date/time this command started

Init

Initialize the database in a new location

Usage:
  fdio init [flags]

Flags:
  -h, --help   help for init

Global Flags:
      --db string   The path to the database (required)

Query

With this command you can run any arbitrary query against the database, so do this at your own risk

Run a query against the database

Usage:
  fdio query [flags]

Flags:
  -h, --help           help for query
  -q, --query string   The database query you want to run

Global Flags:
      --db string   The path to the database (required)

Stats

Get statistics from the database

Usage:
  fdio stats [flags]

Flags:
  -h, --help   help for stats

Global Flags:
      --db string   The path to the database (required)

fdio's People

Contributors

retgits avatar

Watchers

James Cloos 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.