This is a cli tool for working with the Fröjd Intranet.
Requirements
Python 2.7
Pip
Installation
Frojd-Intranet can be installed through pip.
Stable
sudo pip install frojd-intranet
Getting started
Create a config file called .frojd-intranet in your home directory:
{ 'base_url': 'https://url.to.intranet.se', 'username': 'Ernest', 'password': 'Hemingway' }Now run a test command: frojd-intranet search --project="My project
Done!
Usage
Search after project:
frojd-intranet search --project="My project"
Returns:
Demo Stage Prod
List all stages containing to project
frojd-intranet search --project="My project"
Prints:
My project My project 1
Show stage values
frojd-intranet search --project="My project" --stage="Prod"
Prints:
### SSH Host: 127.0.0.1
Find field on stage
frojd-intranet search --project="My project" --stage="Prod" --search="SSH:Host"
Prints:
Host: 127.0.0.1
Versioning
We use semantic versioning.
Contributing
Want to contribute? Awesome. Just send a pull request.
License
Frojd-Intranet is released under the MIT License.
Metadata
Release files for frojd_intranet 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| frojd_intranet-1.0.3.tar.gz | 3.1 kB | Details |
Release files / frojd_intranet-1.0.3.tar.gz
| Download URL | frojd_intranet-1.0.3.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae030e65276a556c9ad4f220ccb77740c51c31e16f548e683e15c113a496204e
|
|
BLAKE2b-256 checksum How to use checksums |
8865a6bd5abd51f796af3b199aff64a0416ab4ee87a620a4a41c235376ddc5b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |