dannyben / opcode Goto Github PK
View Code? Open in Web Editor NEWLocal Command Shortcuts
License: MIT License
Local Command Shortcuts
License: MIT License
Using this op.conf
debug: echo debug
deb: echo deb
there is no way to execute op deb
since it will favor the partial match for debug
.
cc #21
Consider adding an ability to mark an opcode "private", so that it is not shown in any of the listing commands.
Possible use cases:
I wonder is it possible todo:
1.hide duplicate commands that i choose from
op ?
I put commands with aliases in op.conf
debug: ..
deb: op debug
deploy: ..
dep: op deploy
and I want to see only choosen commands with description #? ....
- for example aliases to unclutter log commands list
2.Is there a way to remove from
op -s
comments
#? ....
I think op -s
should contain full command list without help contrary to op ?
regards
First, big thanks to awesome tool.
I have been using Alf for a while, which is also awesome, and wanted to use opcode for a project that is shared.
Would it be difficult to add similar function from Alf where you can use commands in commands?
As an idea, being able to create a command that starts with $
so I can call that from another command. like...
$dbash: docker compose exec web_local bash -c
php-info: $dbash "php -i"
php-version: $dbash "php -v"
php-modules: $dbash "php -m"
thanks again :)
currently have the following command for running in containers
dbashr: docker compose exec web_local bash -c
the default user in container is root
attempting to run commands in containers as the www-data user
dbash: docker compose exec --user www-data web_local bash -c
but this still runs as root. it appears the --user www-data is ignored or not added
also tried:
dbash: docker compose exec -u www-data dms_web_local bash -c
dbash: docker compose exec --user=www-data dms_web_local bash -c
all 3 of these commands do work in the same terminal on there own. Any ideas on how to make this work.
Thanks for any and all assistance.
I try to setup
debug: BASH_ENV=debug.sh ./app
and it not working
howto set variables with commands?
regards
I use bashly,opcode,rush keep up good work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.