KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
sluggo
★ 13
Open GitHub ↗
Smart shell that can handle mutliple REPLs
Download README (.md)
Explore Similar Repositories
CoopTilleulsMigrationBundle
:
Provides basic features for continuous migration: it implements loaders & transformers.
Pubkey
:
My Pubkey
flowbot
:
A boilerplate for rapid Semaphor bot production
ResolveDB_backup
:
Scripts for weekly dumps and backups of (centralized) DaVinci Resolve Studio PSQL database. For Windows, Mac and Linux
myAssets
:
Custom filters and other resources to use with uBlock Origin and uMatrix.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
sluggo
?
Download (.md)
sluggo ====== sluggo is a shell that can handle multiple REPLs. It provides a few REPLs implementations, including a git REPL, a Python REPL, and a general command REPL. ## Demo [](https://asciinema.org/a/8i56cd2twd96r9xpxwp4m6saf) ## Features sluggo features a few basic commands that allow you to switch between REPLs: - `!go [repl]`: switch to the specified REPL - `@[repl] [cmd]`: executes the command from the specified REPL - `$[cmd]`: executes a system command - `!open [repl]`: opens a REPL session without switching - `!close [repl]`: closes the specified REPL - `!alias [name] [cmd]`: Creates an alias to a command that can be called with `![name]` - `!quit`: closes the current one if no argument is given - `!exit`: exits sluggo - `!cls`: clears the console - `!reload`: reloads the configuration file and the plugins ## Modularity sluggo is extensible. That means you can define your own REPLs easily: ```python import sluggo class parrot(sluggo.REPL): def eval(self, input): print(input) ``` You just need to put this in your ~/.sluggo/plugins directory for it to be loaded automatically: ```bash $ !go parrot parrot> hey hey parrot> it's annoying it's annoying ```