Skip to main content

Use Runfiles in your projects.

Project description

Run commands for your repo, easily.

runcli allows you to define a Runfile at the root of your repository, and then call that file from anywhere in your repo as a script using the command run. The rest is up to you!

See the github repo for the source code.

Installation

Install runcli with pip:

pip install runcli

Currently only linux is tested, but it should also work on Mac.

Quickstart

To use run, first write a Runfile in the root of some repository. The Runfile is just a script, and can be any script you like, for example:

#! /bin/bash

echo $1

Then, from anywhere in your repository call the Runfile script using the run command:

> run "hello, world!"
hello, world!

That’s all there is to it.

Contributing

Pull requests are welcome. All contributions should happen on the github repo.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runcli-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runcli-0.0.1-py2.py3-none-any.whl (7.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file runcli-0.0.1.tar.gz.

File metadata

  • Download URL: runcli-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for runcli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6815e215fc94ec8a1e2a182710ce29b4e1941e7943c107479de2665815616daa
MD5 5813db54a30e6f0489cd6880e415001e
BLAKE2b-256 b159d0315f0220b70b1a5a147533d9b4a76c1de5d7edfeb00718f75aaa9b7d9c

See more details on using hashes here.

File details

Details for the file runcli-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for runcli-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4126cd2d16f36b9b9f9d4939eabd15b53e71b2639c79041f06c7f741c0e7ad1d
MD5 612f9c3a6fafbde0e721ead0011ef7f3
BLAKE2b-256 303d8fbf65932abec5c05035d3f18afdd1fc250c7a6655814928205c51131414

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page