Code Monkey home page Code Monkey logo

opcode's Issues

Allow private codes

Consider adding an ability to mark an opcode "private", so that it is not shown in any of the listing commands.

Possible use cases:

  1. Aliases (brought up in #24)
  2. Internal opcodes

Improve opcode help?

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

Ability to create variables to use in commands

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 :)

issue passing in docker compose options

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.

howto set variables with commands?

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.