mariofix / flask-admin-cli

A CLI application for Flask-Admin

Home Page:https://mariofix.github.io/flask-admin-cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask Admin CLI

PyPI License Test & Coverage Code Style PyPI - Python Version Code style: black Coverage Status PyPI - License

Introduction

Flask Admin CLI is a command-line tool to manage Flask Admin examples. It provides commands to list original and available examples, clone a specific example repository, and perform pre-flight checks.

Installation

To install Flask Admin CLI, use pip:

pip install flask-admin-cli

Usage

List Original Examples

To list all original Flask Admin examples along with their URLs and installation commands:

flask-admin-cli list_original_examples

List Available Examples

To list all available Flask Admin examples along with their URLs and installation commands:

flask-admin-cli list_examples

Clone Example Repository

To clone a specific Flask Admin example repository to the specified directory:

flask-admin-cli new_app --app example_name --dest_dir /path/to/destination

Replace example_name with the desired example (e.g., appengine, auth, bootstrap4, etc.) and provide the destination directory for installation.

Documentation

For more detailed information and documentation, visit the Flask Admin CLI Documentation.

Credits

Special thanks to the Flask Admin team for their fantastic work.

License

This project is licensed under the MIT License.