[ 
https://issues.apache.org/jira/browse/AIRFLOW-6001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16977599#comment-16977599
 ] 

ASF subversion and git services commented on AIRFLOW-6001:
----------------------------------------------------------

Commit 4a344f13d26ecbb627bb9968895b290bfd86e4da in airflow's branch 
refs/heads/master from Kamil Breguła
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=4a344f1 ]

[AIRFLOW-6001] Lazy load CLI commands (#6594)

* [AIRFLOW-YYY] Lazy load API Client

* [AIRFLOW-YYY] Introduce order in CLI's function names

* [AIRFLOW-YYY] Create cli package

* [AIRLFOW-YYY] Move user and roles command to seperate files

* [AIRLFOW-YYY] Move sync_perm command to seperate file

* [AIRLFOW-YYY] Move task commands to separate file

* [AIRLFOW-YYY] Move pool commands to separate file

* [AIRLFOW-YYY] Move variable commands to separate file

* [AIRLFOW-YYY] Move db commands to separate file

* fixup! [AIRLFOW-YYY] Move variable commands to separate file

* [AIRLFOW-YYY] Move connection commands to separate file

* [AIRLFOW-YYY] Move version command to separate file

* [AIRLFOW-YYY] Move scheduler command to separate file

* [AIRLFOW-YYY] Move worker command to separate file

* [AIRLFOW-YYY] Move webserver command to separate file

* [AIRLFOW-YYY] Move dag commands to separate file

* [AIRLFOW-YYY] Move serve logs command to separate file

* [AIRLFOW-YYY] Move flower command to separate file

* [AIRLFOW-YYY] Move kerberos command to separate file

* [AIRFLOW-YYY] Lazy load CLI commands

* [AIRFLOW-YYY] Fix migration

* fixup! [AIRFLOW-YYY] Fix migration

* fixup! fixup! [AIRFLOW-YYY] Fix migration


> Lazy load CLI commands
> ----------------------
>
>                 Key: AIRFLOW-6001
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6001
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 1.10.6
>            Reporter: Kamil Bregula
>            Priority: Major
>
> Currently, CLI loads all packages even when the command is not used in any 
> way, which takes CPU time and memory.  I suggest that only commands that are 
> executed be loaded. This can speed up task launch time and also improve user 
> productivity.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to