Skip to content

Generic service to provide easy-to-access oJobs for daily routines.

License

Notifications You must be signed in to change notification settings

LeandroFernandes5/oJob.io

 
 

Repository files navigation

oJob.io

Service providing easy-to-access oJobs for daily routines.

How to access

To access you just need to execute:

ojob ojob.io

Then you can start writing a category or name and/or hit tab for auto-complete for the available jobs under that site. If the corresponding ojob has parameters they will be asked. Aftewards it will provide you the full command-line to execute the same command without the interactive interface and proceed to execute the selected ojob with the provided arguments.

Command-line examples

Hello world:

ojob ojob.io/hello/world

Host latency:

ojob ojob.io/net/latency host=ojob.io port=443

How to control the output

For jobs following the standard output practice you can add an extra argument, "__format", to force the output to be presented in a different way:

For list/array results

  • CSV - __format=csv for csv like format.
  • YAML - __format=yaml for output in yaml.
  • JSON - __format=json for output in json.
  • MAP - __format=map for output in a map tabular human-readable form.
  • TABLE - __format=table for output in a table human-readable form.
  • PM - __format=pm for output into a global variable __pm._list.

For map/object results

  • YAML - __format=yaml for output in yaml.
  • JSON - __format=json for output in json.
  • MAP - __format=map for output in a map tabular human-readable form.
  • PM - __format=pm for output into a global variable __pm._map.

For string results

  • HUMAN - __format=human for output in the raw human-readable representation.
  • PM - __format=pm for output into a global variable __pm.result.

About

Generic service to provide easy-to-access oJobs for daily routines.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%