NEW: Fenrir v1.2.2 is now available — Logo & Favicon Patch! Read the changelog
cli-tools.md
docs cli-tools.md

CLI Tools

Running the Application

1
2
3
4
5
6
7
8
# Using fenrir CLI
fenrir run app:app

# With custom host and port
fenrir run app:app --host 0.0.0.0 --port 8080

# With reload on file changes
fenrir run app:app --reload

Viewing Routes

1
2
# List all routes
fenrir routes app:app

Interactive Shell

1
2
# Start interactive shell
fenrir shell app:app

Project Scaffolding

1
2
# Create new project
fenrir new myproject

Performance Benchmarking

1
2
3
4
5
# Run benchmark tests
fenrir bench app:app

# Custom iterations and path
fenrir bench app:app -i 2000 -t 5 -p / -m GET

Environment Inspection

1
2
3
4
5
# Inspect system environment and framework details
fenrir info

# Inspect specific app details
fenrir info app:app

Example output:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
=============================================
SYSTEM ENVIRONMENT
=============================================
Fenrir version:      1.2.2
Python version:      3.11.0
Python executable:   /usr/bin/python3
OS Platform:         Linux 6.1.0
Pydantic installed:  Yes (v2.7.0)
Asteri installed:    Yes (v2.2.2)
=============================================
APPLICATION DETAILS
=============================================
App Title:           My App
App Version:         1.2.2
HTTP Routes:         10
WebSocket Routes:    2
Middlewares:         1
Compat Layers Active: None active in process
=============================================
Edit on GitHub Last Updated: Jun 04, 2026
© 2026 Fenrir Project.
main*
v1.2.2
Ln 1, Col 1
UTF-8
Prettier
Light Mode
Markdown