Skip to content
#

aio

Here are 123 public repositories matching this topic...

pkittenis
pkittenis commented Jan 19, 2021

Is your feature request related to a problem? Please describe.
Would like to be able to use callback function for run_command to call when a command has finished executing.

Describe the solution you'd like

def my_cb(host_out, my_arg):
    for line in host_out.stdout:
        print(line)

client.run_command('echo me', callback=my_cb, callback_extra_args=('my_arg',))

`m

jevolk
jevolk commented Mar 5, 2019

Resolving this issue involves going through the handlers in the modules/ tree alongside the matrix client and server specification to flag methods required to be rate-limited. Currently some are, but many are not.

Example of a method with the flag:

resource::method
method
{
    resource, "GET", handler,
    {
        method.REQUIRES_AUTH |
        method.RATE_LIMITED
    }
};
`
bug good first issue
Arfey
Arfey commented Apr 16, 2020

Will be great have approach to put some arguments for make test or commands some like this.

For that we need add some like that into Makefile.

# arguments
FIRST_ARG := $(firstword $(MAKECMDGOALS))
ARGS = $(filter-out $@,$(MAKEOVERRIDES) $(MAKECMDGOALS))
MAKEFILE_PATH := $(abspath $(firstword $(MAKEFILE_LIST)))

%:
	@:

and after that add ${ARGS} to our commands

te
help wanted good first issue easy

All Tools In One is a Script Developed with Python3. It gathers a total of 16 Discord tools (including a RAT, a Raid Tool, a Token Grabber, a Crash Video Maker, etc). It has a pleasant and intuitive interface to facilitate the use of all with help and explanations for each of them.

  • Updated Jan 16, 2022
  • Python

Improve this page

Add a description, image, and links to the aio topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the aio topic, visit your repo's landing page and select "manage topics."

Learn more