Skip to main content

Full Bore CLI tool

Project description

fullbore-cli

Full Bore CLI — a command-line tool to simplify internal infrastructure operations like server access and config management.


Features

  • List available servers from a shared config file
  • One-command SSH access to internal machines
  • Easily customizable and extensible with new commands

Installation

pip install fullbore-cli

Usage

List all configured servers:

fbcli list-servers

SSH into one:

fbcli ssh fb-web-1

You can also use the shortcut:

fb ssh fb-web-2

Configuration

On first run, you'll be prompted for the location of your config.fb file.

You can:

  • Press Enter to auto-create a default one at:

    • ~/.fbcli/config.fb (Linux/macOS)
    • C:\Users\yourname\.fbcli\config.fb (Windows)
  • Or paste a full path like:

    • Windows: "C:\Users\you\Documents\config.fb"
    • macOS/Linux: /Users/you/config.fb

The file should look like:

servers = {
    "fb-web-1": {"host": "192.168.1.112", "user": "fbadmin"},
    "fb-rp": {"host": "192.168.1.186", "user": "fbadmin"},
}

Your chosen path will be saved automatically for future runs.


Dev Setup

python3 -m venv .venv
source .venv/bin/activate
pip install -e .

🛠 Feature Sketchpad (Not Yet Implemented)

Ideas for future enhancements to fbcli. These are still in exploration but show where the tool is headed:

🔧 fb run "<command>" -s <server>

  • Run shell commands on any registered server
  • Example: fb run "docker ps" -s fb-web-1
  • Optional working directory or user override

🚀 fb deploy <project> --server <alias>

  • Deploy preconfigured projects to known paths
  • Example: fb deploy myapp --server staging
  • Could support Docker, Git pulls, symlink swaps, etc.

🧰 fb tool <task> [--args]

  • Trigger remote scripts or system automation
  • Example: fb tool ssl-renew -s fb-rp
  • Example: fb tool add-domain myapp.local --server fb-rp
  • Powered by server-side fbtools scripts or dockerized tool containers

🧪 Other possible commands

  • fb logs <project> — tail logs via SSH
  • fb open <project> — open the app in browser
  • fb scale <project> — scale services/containers
  • fb db shell <project> — open a DB shell inside container
  • fb config reset — force re-selecting a config file

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

fullbore_cli-0.1.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

fullbore_cli-0.1.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file fullbore_cli-0.1.4.tar.gz.

File metadata

  • Download URL: fullbore_cli-0.1.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for fullbore_cli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 cf397e6e42110f1f4f2acba660ea9fb80e8b869339f2b42e5434e8ca1f0e03af
MD5 09442448ff4a404ecc555da1bde3386d
BLAKE2b-256 6dfcd6630dbd46cbf4c6b0f09910b236c928b842494576d933b2ee0283c4cc91

See more details on using hashes here.

File details

Details for the file fullbore_cli-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: fullbore_cli-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for fullbore_cli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3c82cbbdbcf69e8b46e1449c04311108c58cdc130db768e403b7ff3710048ab5
MD5 80cabfbaf42f36c075cf6c0fbe0ae4a2
BLAKE2b-256 6778ca43ef60c452c4a9b01a2150d26e6333b35ed61fd6c8c7afceaaa8f8d02e

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