You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by Ash Berlin-Taylor <as...@apache.org> on 2019/06/11 11:15:12 UTC
[VOTE] AIP-16: CLI: Use nested commands instead of flags
Hi Airflowers,
This email calls for a vote to introduce restructure the CLI to use nested commands instead of flags. The vote will last for at least 1 week (June 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
The original discussion <https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E> was positive and the proposed implementation is at https://github.com/apache/airflow/pull/4821. Since this is a breaking change it will be for Airflow 2.0.0 only.
An example of the proposed changes to the cli:
- `airflow list_dags` -> `airflow dags list`
- `airflow pools -l` -> `airflow pools list`
- `airflow pools -a` -> `airflow pools add`
- `airflow initdb` -> `airflow db init`
And an example "group" help message:
usage: airflow db [-h] {init,reset,upgrade} ...
positional arguments:
{init,reset,upgrade}
init Initialize the metadata database
reset Burn down and rebuild the metadata database
upgrade Upgrade the metadata database to latest version
optional arguments:
-h, --help show this help message and exit
This is my (binding) +1 vote.
A reminder about binding/non-binding votes: PMC members and Committer's votes are binding for AIP; other members of the community are encouraged to vote with a "(non-binding)".
Thanks,
Ash
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by William Pursell <wi...@wepay.com.INVALID>.
Not sure if this is the right place to address minor issues, and
perhaps I'm late to the discussion. It would be much more natural to
use singular expressions. eg,
airflow dag list
airflow pool list
airflow pool add
etc.
On Tue, Jun 11, 2019 at 2:57 PM Tolu Fakiyesi
<to...@yahoo.com.invalid> wrote:
>
> +1 (non-binding)
>
>
>
>
> On Tue, 11 Jun 2019 at 12:15, Ash Berlin-Taylor<as...@apache.org> wrote: Hi Airflowers,
>
> This email calls for a vote to introduce restructure the CLI to use nested commands instead of flags. The vote will last for at least 1 week (June 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>
> The original discussion <https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E> was positive and the proposed implementation is at https://github.com/apache/airflow/pull/4821. Since this is a breaking change it will be for Airflow 2.0.0 only.
>
> An example of the proposed changes to the cli:
>
> - `airflow list_dags` -> `airflow dags list`
> - `airflow pools -l` -> `airflow pools list`
> - `airflow pools -a` -> `airflow pools add`
> - `airflow initdb` -> `airflow db init`
>
> And an example "group" help message:
>
> usage: airflow db [-h] {init,reset,upgrade} ...
>
> positional arguments:
> {init,reset,upgrade}
> init Initialize the metadata database
> reset Burn down and rebuild the metadata database
> upgrade Upgrade the metadata database to latest version
>
> optional arguments:
> -h, --help show this help message and exit
>
> This is my (binding) +1 vote.
>
> A reminder about binding/non-binding votes: PMC members and Committer's votes are binding for AIP; other members of the community are encouraged to vote with a "(non-binding)".
>
> Thanks,
> Ash
>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Tolu Fakiyesi <to...@yahoo.com.INVALID>.
+1 (non-binding)
On Tue, 11 Jun 2019 at 12:15, Ash Berlin-Taylor<as...@apache.org> wrote: Hi Airflowers,
This email calls for a vote to introduce restructure the CLI to use nested commands instead of flags. The vote will last for at least 1 week (June 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
The original discussion <https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E> was positive and the proposed implementation is at https://github.com/apache/airflow/pull/4821. Since this is a breaking change it will be for Airflow 2.0.0 only.
An example of the proposed changes to the cli:
- `airflow list_dags` -> `airflow dags list`
- `airflow pools -l` -> `airflow pools list`
- `airflow pools -a` -> `airflow pools add`
- `airflow initdb` -> `airflow db init`
And an example "group" help message:
usage: airflow db [-h] {init,reset,upgrade} ...
positional arguments:
{init,reset,upgrade}
init Initialize the metadata database
reset Burn down and rebuild the metadata database
upgrade Upgrade the metadata database to latest version
optional arguments:
-h, --help show this help message and exit
This is my (binding) +1 vote.
A reminder about binding/non-binding votes: PMC members and Committer's votes are binding for AIP; other members of the community are encouraged to vote with a "(non-binding)".
Thanks,
Ash
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Sumit Maheshwari <su...@gmail.com>.
+1 (binding)
On Tue, Jun 11, 2019 at 8:19 PM James Meickle
<jm...@quantopian.com.invalid> wrote:
> +1 (non-binding)
>
> On Tue, Jun 11, 2019 at 7:15 AM Ash Berlin-Taylor <as...@apache.org> wrote:
>
> > Hi Airflowers,
> >
> > This email calls for a vote to introduce restructure the CLI to use
> nested
> > commands instead of flags. The vote will last for at least 1 week (June
> > 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
> >
> > The original discussion <
> >
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> >
> > was positive and the proposed implementation is at
> > https://github.com/apache/airflow/pull/4821. Since this is a breaking
> > change it will be for Airflow 2.0.0 only.
> >
> > An example of the proposed changes to the cli:
> >
> > - `airflow list_dags` -> `airflow dags list`
> > - `airflow pools -l` -> `airflow pools list`
> > - `airflow pools -a` -> `airflow pools add`
> > - `airflow initdb` -> `airflow db init`
> >
> > And an example "group" help message:
> >
> > usage: airflow db [-h] {init,reset,upgrade} ...
> >
> > positional arguments:
> > {init,reset,upgrade}
> > init Initialize the metadata database
> > reset Burn down and rebuild the metadata database
> > upgrade Upgrade the metadata database to latest
> version
> >
> > optional arguments:
> > -h, --help show this help message and exit
> >
> > This is my (binding) +1 vote.
> >
> > A reminder about binding/non-binding votes: PMC members and Committer's
> > votes are binding for AIP; other members of the community are encouraged
> to
> > vote with a "(non-binding)".
> >
> > Thanks,
> > Ash
> >
> >
>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by James Meickle <jm...@quantopian.com.INVALID>.
+1 (non-binding)
On Tue, Jun 11, 2019 at 7:15 AM Ash Berlin-Taylor <as...@apache.org> wrote:
> Hi Airflowers,
>
> This email calls for a vote to introduce restructure the CLI to use nested
> commands instead of flags. The vote will last for at least 1 week (June
> 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>
> The original discussion <
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E>
> was positive and the proposed implementation is at
> https://github.com/apache/airflow/pull/4821. Since this is a breaking
> change it will be for Airflow 2.0.0 only.
>
> An example of the proposed changes to the cli:
>
> - `airflow list_dags` -> `airflow dags list`
> - `airflow pools -l` -> `airflow pools list`
> - `airflow pools -a` -> `airflow pools add`
> - `airflow initdb` -> `airflow db init`
>
> And an example "group" help message:
>
> usage: airflow db [-h] {init,reset,upgrade} ...
>
> positional arguments:
> {init,reset,upgrade}
> init Initialize the metadata database
> reset Burn down and rebuild the metadata database
> upgrade Upgrade the metadata database to latest version
>
> optional arguments:
> -h, --help show this help message and exit
>
> This is my (binding) +1 vote.
>
> A reminder about binding/non-binding votes: PMC members and Committer's
> votes are binding for AIP; other members of the community are encouraged to
> vote with a "(non-binding)".
>
> Thanks,
> Ash
>
>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Arthur Wiedmer <ar...@apache.org>.
+1 (binding)
Best,
Arthur
On Tue, Jun 11, 2019, 04:15 Ash Berlin-Taylor <as...@apache.org> wrote:
> Hi Airflowers,
>
> This email calls for a vote to introduce restructure the CLI to use nested
> commands instead of flags. The vote will last for at least 1 week (June
> 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>
> The original discussion <
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E>
> was positive and the proposed implementation is at
> https://github.com/apache/airflow/pull/4821. Since this is a breaking
> change it will be for Airflow 2.0.0 only.
>
> An example of the proposed changes to the cli:
>
> - `airflow list_dags` -> `airflow dags list`
> - `airflow pools -l` -> `airflow pools list`
> - `airflow pools -a` -> `airflow pools add`
> - `airflow initdb` -> `airflow db init`
>
> And an example "group" help message:
>
> usage: airflow db [-h] {init,reset,upgrade} ...
>
> positional arguments:
> {init,reset,upgrade}
> init Initialize the metadata database
> reset Burn down and rebuild the metadata database
> upgrade Upgrade the metadata database to latest version
>
> optional arguments:
> -h, --help show this help message and exit
>
> This is my (binding) +1 vote.
>
> A reminder about binding/non-binding votes: PMC members and Committer's
> votes are binding for AIP; other members of the community are encouraged to
> vote with a "(non-binding)".
>
> Thanks,
> Ash
>
>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by "dong.yajun" <do...@gmail.com>.
+1
Kevin Yang <yr...@gmail.com>于2019年6月13日 周四下午2:52写道:
> +1 (binding)
>
> On Wed, Jun 12, 2019 at 11:39 PM Chao-Han Tsai <mi...@gmail.com>
> wrote:
>
> > +1 (non-binding)
> >
> > On Tue, Jun 11, 2019 at 3:36 PM Andrii Soldatenko <
> > andrii.soldatenko@gmail.com> wrote:
> >
> > > +1 (non-binding)
> > >
> > > On Tue, Jun 11, 2019 at 11:41 PM Maxime Beauchemin <
> > > maximebeauchemin@gmail.com> wrote:
> > >
> > > > +1
> > > >
> > > > On Tue, Jun 11, 2019 at 12:29 PM Bas Harenslak <
> > > > basharenslak@godatadriven.com> wrote:
> > > >
> > > > > +1 (binding)
> > > > >
> > > > >
> > > > > On 11 Jun 2019, at 18:59, Tao Feng <fengtao04@gmail.com<mailto:
> > > > > fengtao04@gmail.com>> wrote:
> > > > >
> > > > > +1 (binding)
> > > > >
> > > > > On Tue, Jun 11, 2019 at 4:15 AM Ash Berlin-Taylor <ash@apache.org
> > > > <mailto:
> > > > > ash@apache.org>> wrote:
> > > > >
> > > > > Hi Airflowers,
> > > > >
> > > > > This email calls for a vote to introduce restructure the CLI to use
> > > > nested
> > > > > commands instead of flags. The vote will last for at least 1 week
> > (June
> > > > > 18th 12:00 BST), and at least three +1 (binding) votes have been
> > cast.
> > > > >
> > > > > The original discussion <
> > > > >
> > > > >
> > > >
> > >
> >
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> > > > > >
> > > > > was positive and the proposed implementation is at
> > > > > https://github.com/apache/airflow/pull/4821. Since this is a
> > breaking
> > > > > change it will be for Airflow 2.0.0 only.
> > > > >
> > > > > An example of the proposed changes to the cli:
> > > > >
> > > > > - `airflow list_dags` -> `airflow dags list`
> > > > > - `airflow pools -l` -> `airflow pools list`
> > > > > - `airflow pools -a` -> `airflow pools add`
> > > > > - `airflow initdb` -> `airflow db init`
> > > > >
> > > > > And an example "group" help message:
> > > > >
> > > > > usage: airflow db [-h] {init,reset,upgrade} ...
> > > > >
> > > > > positional arguments:
> > > > > {init,reset,upgrade}
> > > > > init Initialize the metadata database
> > > > > reset Burn down and rebuild the metadata
> > database
> > > > > upgrade Upgrade the metadata database to latest
> > > > version
> > > > >
> > > > > optional arguments:
> > > > > -h, --help show this help message and exit
> > > > >
> > > > > This is my (binding) +1 vote.
> > > > >
> > > > > A reminder about binding/non-binding votes: PMC members and
> > Committer's
> > > > > votes are binding for AIP; other members of the community are
> > > encouraged
> > > > to
> > > > > vote with a "(non-binding)".
> > > > >
> > > > > Thanks,
> > > > > Ash
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > Best regards,
> > >
> > > Andrii Soldatenko
> > > Python Developer
> > >
> > > skype: andrii.soldatenko
> > > andrii.soldatenko@gmail.com
> > > http://asoldatenko.com
> > >
> >
> >
> > --
> >
> > Chao-Han Tsai
> >
>
--
*Ric Dong*
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Kevin Yang <yr...@gmail.com>.
+1 (binding)
On Wed, Jun 12, 2019 at 11:39 PM Chao-Han Tsai <mi...@gmail.com> wrote:
> +1 (non-binding)
>
> On Tue, Jun 11, 2019 at 3:36 PM Andrii Soldatenko <
> andrii.soldatenko@gmail.com> wrote:
>
> > +1 (non-binding)
> >
> > On Tue, Jun 11, 2019 at 11:41 PM Maxime Beauchemin <
> > maximebeauchemin@gmail.com> wrote:
> >
> > > +1
> > >
> > > On Tue, Jun 11, 2019 at 12:29 PM Bas Harenslak <
> > > basharenslak@godatadriven.com> wrote:
> > >
> > > > +1 (binding)
> > > >
> > > >
> > > > On 11 Jun 2019, at 18:59, Tao Feng <fengtao04@gmail.com<mailto:
> > > > fengtao04@gmail.com>> wrote:
> > > >
> > > > +1 (binding)
> > > >
> > > > On Tue, Jun 11, 2019 at 4:15 AM Ash Berlin-Taylor <ash@apache.org
> > > <mailto:
> > > > ash@apache.org>> wrote:
> > > >
> > > > Hi Airflowers,
> > > >
> > > > This email calls for a vote to introduce restructure the CLI to use
> > > nested
> > > > commands instead of flags. The vote will last for at least 1 week
> (June
> > > > 18th 12:00 BST), and at least three +1 (binding) votes have been
> cast.
> > > >
> > > > The original discussion <
> > > >
> > > >
> > >
> >
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> > > > >
> > > > was positive and the proposed implementation is at
> > > > https://github.com/apache/airflow/pull/4821. Since this is a
> breaking
> > > > change it will be for Airflow 2.0.0 only.
> > > >
> > > > An example of the proposed changes to the cli:
> > > >
> > > > - `airflow list_dags` -> `airflow dags list`
> > > > - `airflow pools -l` -> `airflow pools list`
> > > > - `airflow pools -a` -> `airflow pools add`
> > > > - `airflow initdb` -> `airflow db init`
> > > >
> > > > And an example "group" help message:
> > > >
> > > > usage: airflow db [-h] {init,reset,upgrade} ...
> > > >
> > > > positional arguments:
> > > > {init,reset,upgrade}
> > > > init Initialize the metadata database
> > > > reset Burn down and rebuild the metadata
> database
> > > > upgrade Upgrade the metadata database to latest
> > > version
> > > >
> > > > optional arguments:
> > > > -h, --help show this help message and exit
> > > >
> > > > This is my (binding) +1 vote.
> > > >
> > > > A reminder about binding/non-binding votes: PMC members and
> Committer's
> > > > votes are binding for AIP; other members of the community are
> > encouraged
> > > to
> > > > vote with a "(non-binding)".
> > > >
> > > > Thanks,
> > > > Ash
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> > --
> > Best regards,
> >
> > Andrii Soldatenko
> > Python Developer
> >
> > skype: andrii.soldatenko
> > andrii.soldatenko@gmail.com
> > http://asoldatenko.com
> >
>
>
> --
>
> Chao-Han Tsai
>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Chao-Han Tsai <mi...@gmail.com>.
+1 (non-binding)
On Tue, Jun 11, 2019 at 3:36 PM Andrii Soldatenko <
andrii.soldatenko@gmail.com> wrote:
> +1 (non-binding)
>
> On Tue, Jun 11, 2019 at 11:41 PM Maxime Beauchemin <
> maximebeauchemin@gmail.com> wrote:
>
> > +1
> >
> > On Tue, Jun 11, 2019 at 12:29 PM Bas Harenslak <
> > basharenslak@godatadriven.com> wrote:
> >
> > > +1 (binding)
> > >
> > >
> > > On 11 Jun 2019, at 18:59, Tao Feng <fengtao04@gmail.com<mailto:
> > > fengtao04@gmail.com>> wrote:
> > >
> > > +1 (binding)
> > >
> > > On Tue, Jun 11, 2019 at 4:15 AM Ash Berlin-Taylor <ash@apache.org
> > <mailto:
> > > ash@apache.org>> wrote:
> > >
> > > Hi Airflowers,
> > >
> > > This email calls for a vote to introduce restructure the CLI to use
> > nested
> > > commands instead of flags. The vote will last for at least 1 week (June
> > > 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
> > >
> > > The original discussion <
> > >
> > >
> >
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> > > >
> > > was positive and the proposed implementation is at
> > > https://github.com/apache/airflow/pull/4821. Since this is a breaking
> > > change it will be for Airflow 2.0.0 only.
> > >
> > > An example of the proposed changes to the cli:
> > >
> > > - `airflow list_dags` -> `airflow dags list`
> > > - `airflow pools -l` -> `airflow pools list`
> > > - `airflow pools -a` -> `airflow pools add`
> > > - `airflow initdb` -> `airflow db init`
> > >
> > > And an example "group" help message:
> > >
> > > usage: airflow db [-h] {init,reset,upgrade} ...
> > >
> > > positional arguments:
> > > {init,reset,upgrade}
> > > init Initialize the metadata database
> > > reset Burn down and rebuild the metadata database
> > > upgrade Upgrade the metadata database to latest
> > version
> > >
> > > optional arguments:
> > > -h, --help show this help message and exit
> > >
> > > This is my (binding) +1 vote.
> > >
> > > A reminder about binding/non-binding votes: PMC members and Committer's
> > > votes are binding for AIP; other members of the community are
> encouraged
> > to
> > > vote with a "(non-binding)".
> > >
> > > Thanks,
> > > Ash
> > >
> > >
> > >
> > >
> >
>
>
> --
> Best regards,
>
> Andrii Soldatenko
> Python Developer
>
> skype: andrii.soldatenko
> andrii.soldatenko@gmail.com
> http://asoldatenko.com
>
--
Chao-Han Tsai
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Andrii Soldatenko <an...@gmail.com>.
+1 (non-binding)
On Tue, Jun 11, 2019 at 11:41 PM Maxime Beauchemin <
maximebeauchemin@gmail.com> wrote:
> +1
>
> On Tue, Jun 11, 2019 at 12:29 PM Bas Harenslak <
> basharenslak@godatadriven.com> wrote:
>
> > +1 (binding)
> >
> >
> > On 11 Jun 2019, at 18:59, Tao Feng <fengtao04@gmail.com<mailto:
> > fengtao04@gmail.com>> wrote:
> >
> > +1 (binding)
> >
> > On Tue, Jun 11, 2019 at 4:15 AM Ash Berlin-Taylor <ash@apache.org
> <mailto:
> > ash@apache.org>> wrote:
> >
> > Hi Airflowers,
> >
> > This email calls for a vote to introduce restructure the CLI to use
> nested
> > commands instead of flags. The vote will last for at least 1 week (June
> > 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
> >
> > The original discussion <
> >
> >
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> > >
> > was positive and the proposed implementation is at
> > https://github.com/apache/airflow/pull/4821. Since this is a breaking
> > change it will be for Airflow 2.0.0 only.
> >
> > An example of the proposed changes to the cli:
> >
> > - `airflow list_dags` -> `airflow dags list`
> > - `airflow pools -l` -> `airflow pools list`
> > - `airflow pools -a` -> `airflow pools add`
> > - `airflow initdb` -> `airflow db init`
> >
> > And an example "group" help message:
> >
> > usage: airflow db [-h] {init,reset,upgrade} ...
> >
> > positional arguments:
> > {init,reset,upgrade}
> > init Initialize the metadata database
> > reset Burn down and rebuild the metadata database
> > upgrade Upgrade the metadata database to latest
> version
> >
> > optional arguments:
> > -h, --help show this help message and exit
> >
> > This is my (binding) +1 vote.
> >
> > A reminder about binding/non-binding votes: PMC members and Committer's
> > votes are binding for AIP; other members of the community are encouraged
> to
> > vote with a "(non-binding)".
> >
> > Thanks,
> > Ash
> >
> >
> >
> >
>
--
Best regards,
Andrii Soldatenko
Python Developer
skype: andrii.soldatenko
andrii.soldatenko@gmail.com
http://asoldatenko.com
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Maxime Beauchemin <ma...@gmail.com>.
+1
On Tue, Jun 11, 2019 at 12:29 PM Bas Harenslak <
basharenslak@godatadriven.com> wrote:
> +1 (binding)
>
>
> On 11 Jun 2019, at 18:59, Tao Feng <fengtao04@gmail.com<mailto:
> fengtao04@gmail.com>> wrote:
>
> +1 (binding)
>
> On Tue, Jun 11, 2019 at 4:15 AM Ash Berlin-Taylor <ash@apache.org<mailto:
> ash@apache.org>> wrote:
>
> Hi Airflowers,
>
> This email calls for a vote to introduce restructure the CLI to use nested
> commands instead of flags. The vote will last for at least 1 week (June
> 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>
> The original discussion <
>
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> >
> was positive and the proposed implementation is at
> https://github.com/apache/airflow/pull/4821. Since this is a breaking
> change it will be for Airflow 2.0.0 only.
>
> An example of the proposed changes to the cli:
>
> - `airflow list_dags` -> `airflow dags list`
> - `airflow pools -l` -> `airflow pools list`
> - `airflow pools -a` -> `airflow pools add`
> - `airflow initdb` -> `airflow db init`
>
> And an example "group" help message:
>
> usage: airflow db [-h] {init,reset,upgrade} ...
>
> positional arguments:
> {init,reset,upgrade}
> init Initialize the metadata database
> reset Burn down and rebuild the metadata database
> upgrade Upgrade the metadata database to latest version
>
> optional arguments:
> -h, --help show this help message and exit
>
> This is my (binding) +1 vote.
>
> A reminder about binding/non-binding votes: PMC members and Committer's
> votes are binding for AIP; other members of the community are encouraged to
> vote with a "(non-binding)".
>
> Thanks,
> Ash
>
>
>
>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Bas Harenslak <ba...@godatadriven.com>.
+1 (binding)
On 11 Jun 2019, at 18:59, Tao Feng <fe...@gmail.com>> wrote:
+1 (binding)
On Tue, Jun 11, 2019 at 4:15 AM Ash Berlin-Taylor <as...@apache.org>> wrote:
Hi Airflowers,
This email calls for a vote to introduce restructure the CLI to use nested
commands instead of flags. The vote will last for at least 1 week (June
18th 12:00 BST), and at least three +1 (binding) votes have been cast.
The original discussion <
https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E>
was positive and the proposed implementation is at
https://github.com/apache/airflow/pull/4821. Since this is a breaking
change it will be for Airflow 2.0.0 only.
An example of the proposed changes to the cli:
- `airflow list_dags` -> `airflow dags list`
- `airflow pools -l` -> `airflow pools list`
- `airflow pools -a` -> `airflow pools add`
- `airflow initdb` -> `airflow db init`
And an example "group" help message:
usage: airflow db [-h] {init,reset,upgrade} ...
positional arguments:
{init,reset,upgrade}
init Initialize the metadata database
reset Burn down and rebuild the metadata database
upgrade Upgrade the metadata database to latest version
optional arguments:
-h, --help show this help message and exit
This is my (binding) +1 vote.
A reminder about binding/non-binding votes: PMC members and Committer's
votes are binding for AIP; other members of the community are encouraged to
vote with a "(non-binding)".
Thanks,
Ash
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Tao Feng <fe...@gmail.com>.
+1 (binding)
On Tue, Jun 11, 2019 at 4:15 AM Ash Berlin-Taylor <as...@apache.org> wrote:
> Hi Airflowers,
>
> This email calls for a vote to introduce restructure the CLI to use nested
> commands instead of flags. The vote will last for at least 1 week (June
> 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>
> The original discussion <
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E>
> was positive and the proposed implementation is at
> https://github.com/apache/airflow/pull/4821. Since this is a breaking
> change it will be for Airflow 2.0.0 only.
>
> An example of the proposed changes to the cli:
>
> - `airflow list_dags` -> `airflow dags list`
> - `airflow pools -l` -> `airflow pools list`
> - `airflow pools -a` -> `airflow pools add`
> - `airflow initdb` -> `airflow db init`
>
> And an example "group" help message:
>
> usage: airflow db [-h] {init,reset,upgrade} ...
>
> positional arguments:
> {init,reset,upgrade}
> init Initialize the metadata database
> reset Burn down and rebuild the metadata database
> upgrade Upgrade the metadata database to latest version
>
> optional arguments:
> -h, --help show this help message and exit
>
> This is my (binding) +1 vote.
>
> A reminder about binding/non-binding votes: PMC members and Committer's
> votes are binding for AIP; other members of the community are encouraged to
> vote with a "(non-binding)".
>
> Thanks,
> Ash
>
>
Re: [RESULT] AIP-16: CLI: Use nested commands instead of flags
Posted by Ash Berlin-Taylor <as...@apache.org>.
And we've just merged this, so the UI will be a little more structured from Airflow 2.0 on. Reminder of the type of changes
- `airflow list_dags` -> `airflow dags list`
- `airflow pools -l` -> `airflow pools list`
- `airflow pools -a` -> `airflow pools add`
- `airflow initdb` -> `airflow db init`
And an example "group" help message:
usage: airflow db [-h] {init,reset,upgrade} ...
positional arguments:
{init,reset,upgrade}
init Initialize the metadata database
reset Burn down and rebuild the metadata database
upgrade Upgrade the metadata database to latest version
optional arguments:
-h, --help show this help message and exit
Thanks,
Ash
> On 19 Jun 2019, at 11:36, Ash Berlin-Taylor <as...@apache.org> wrote:
>
> This vote passed and I'll mark this AIP as accepted.
>
> +1 votes: 19 (9 binding and 10 non-binding votes
> -1 votes: 0.
>
> William: it seems there is no consensus among tools or the internet at large wether or use singular or plural forms, so we will leave it as implemented unless you or anyone else wants to make a strong case for it in the next few days.
>
> -ash
>
>> On 11 Jun 2019, at 12:15, Ash Berlin-Taylor <as...@apache.org> wrote:
>>
>> Hi Airflowers,
>>
>> This email calls for a vote to introduce restructure the CLI to use nested commands instead of flags. The vote will last for at least 1 week (June 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>>
>> The original discussion <https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E> was positive and the proposed implementation is at https://github.com/apache/airflow/pull/4821. Since this is a breaking change it will be for Airflow 2.0.0 only.
>>
>> An example of the proposed changes to the cli:
>>
>> - `airflow list_dags` -> `airflow dags list`
>> - `airflow pools -l` -> `airflow pools list`
>> - `airflow pools -a` -> `airflow pools add`
>> - `airflow initdb` -> `airflow db init`
>>
>> And an example "group" help message:
>>
>> usage: airflow db [-h] {init,reset,upgrade} ...
>>
>> positional arguments:
>> {init,reset,upgrade}
>> init Initialize the metadata database
>> reset Burn down and rebuild the metadata database
>> upgrade Upgrade the metadata database to latest version
>>
>> optional arguments:
>> -h, --help show this help message and exit
>>
>> This is my (binding) +1 vote.
>>
>> A reminder about binding/non-binding votes: PMC members and Committer's votes are binding for AIP; other members of the community are encouraged to vote with a "(non-binding)".
>>
>> Thanks,
>> Ash
>>
>
Re: [RESULT] AIP-16: CLI: Use nested commands instead of flags
Posted by Ash Berlin-Taylor <as...@apache.org>.
And we've just merged this, so the UI will be a little more structured from Airflow 2.0 on. Reminder of the type of changes
- `airflow list_dags` -> `airflow dags list`
- `airflow pools -l` -> `airflow pools list`
- `airflow pools -a` -> `airflow pools add`
- `airflow initdb` -> `airflow db init`
And an example "group" help message:
usage: airflow db [-h] {init,reset,upgrade} ...
positional arguments:
{init,reset,upgrade}
init Initialize the metadata database
reset Burn down and rebuild the metadata database
upgrade Upgrade the metadata database to latest version
optional arguments:
-h, --help show this help message and exit
Thanks,
Ash
> On 19 Jun 2019, at 11:36, Ash Berlin-Taylor <as...@apache.org> wrote:
>
> This vote passed and I'll mark this AIP as accepted.
>
> +1 votes: 19 (9 binding and 10 non-binding votes
> -1 votes: 0.
>
> William: it seems there is no consensus among tools or the internet at large wether or use singular or plural forms, so we will leave it as implemented unless you or anyone else wants to make a strong case for it in the next few days.
>
> -ash
>
>> On 11 Jun 2019, at 12:15, Ash Berlin-Taylor <as...@apache.org> wrote:
>>
>> Hi Airflowers,
>>
>> This email calls for a vote to introduce restructure the CLI to use nested commands instead of flags. The vote will last for at least 1 week (June 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>>
>> The original discussion <https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E> was positive and the proposed implementation is at https://github.com/apache/airflow/pull/4821. Since this is a breaking change it will be for Airflow 2.0.0 only.
>>
>> An example of the proposed changes to the cli:
>>
>> - `airflow list_dags` -> `airflow dags list`
>> - `airflow pools -l` -> `airflow pools list`
>> - `airflow pools -a` -> `airflow pools add`
>> - `airflow initdb` -> `airflow db init`
>>
>> And an example "group" help message:
>>
>> usage: airflow db [-h] {init,reset,upgrade} ...
>>
>> positional arguments:
>> {init,reset,upgrade}
>> init Initialize the metadata database
>> reset Burn down and rebuild the metadata database
>> upgrade Upgrade the metadata database to latest version
>>
>> optional arguments:
>> -h, --help show this help message and exit
>>
>> This is my (binding) +1 vote.
>>
>> A reminder about binding/non-binding votes: PMC members and Committer's votes are binding for AIP; other members of the community are encouraged to vote with a "(non-binding)".
>>
>> Thanks,
>> Ash
>>
>
[RESULT] AIP-16: CLI: Use nested commands instead of flags
Posted by Ash Berlin-Taylor <as...@apache.org>.
This vote passed and I'll mark this AIP as accepted.
+1 votes: 19 (9 binding and 10 non-binding votes
-1 votes: 0.
William: it seems there is no consensus among tools or the internet at large wether or use singular or plural forms, so we will leave it as implemented unless you or anyone else wants to make a strong case for it in the next few days.
-ash
> On 11 Jun 2019, at 12:15, Ash Berlin-Taylor <as...@apache.org> wrote:
>
> Hi Airflowers,
>
> This email calls for a vote to introduce restructure the CLI to use nested commands instead of flags. The vote will last for at least 1 week (June 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>
> The original discussion <https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E> was positive and the proposed implementation is at https://github.com/apache/airflow/pull/4821. Since this is a breaking change it will be for Airflow 2.0.0 only.
>
> An example of the proposed changes to the cli:
>
> - `airflow list_dags` -> `airflow dags list`
> - `airflow pools -l` -> `airflow pools list`
> - `airflow pools -a` -> `airflow pools add`
> - `airflow initdb` -> `airflow db init`
>
> And an example "group" help message:
>
> usage: airflow db [-h] {init,reset,upgrade} ...
>
> positional arguments:
> {init,reset,upgrade}
> init Initialize the metadata database
> reset Burn down and rebuild the metadata database
> upgrade Upgrade the metadata database to latest version
>
> optional arguments:
> -h, --help show this help message and exit
>
> This is my (binding) +1 vote.
>
> A reminder about binding/non-binding votes: PMC members and Committer's votes are binding for AIP; other members of the community are encouraged to vote with a "(non-binding)".
>
> Thanks,
> Ash
>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Kamil Breguła <ka...@polidea.com>.
+1 (binding)
On Tue, Jun 11, 2019 at 4:45 PM Chen Tong <ci...@gmail.com> wrote:
> +1 (non-binding)
>
> On Tue, Jun 11, 2019 at 10:34 AM Christian Lellmann
> <ch...@googlemail.com.invalid> wrote:
>
> > +1 (non-binding)
> >
> > Jiajie Zhong <zh...@hotmail.com> schrieb am Di., 11. Juni 2019,
> > 13:43:
> >
> > > +1 (non-binding)
> > >
> > >
> > > Best Wish
> > > — Jiajie
> > >
> > >
> > >
> > > On Jun 11, 2019, at 19:21, Kaxil Naik <kaxilnaik@gmail.com<mailto:
> > > kaxilnaik@gmail.com>> wrote:
> > >
> > > +1 (binding)
> > >
> > > On Tue, Jun 11, 2019, 12:15 Ash Berlin-Taylor <ash@apache.org<mailto:
> > > ash@apache.org>> wrote:
> > >
> > > Hi Airflowers,
> > >
> > > This email calls for a vote to introduce restructure the CLI to use
> > nested
> > > commands instead of flags. The vote will last for at least 1 week (June
> > > 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
> > >
> > > The original discussion <
> > >
> > >
> >
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> > > >
> > > was positive and the proposed implementation is at
> > > https://github.com/apache/airflow/pull/4821. Since this is a breaking
> > > change it will be for Airflow 2.0.0 only.
> > >
> > > An example of the proposed changes to the cli:
> > >
> > > - `airflow list_dags` -> `airflow dags list`
> > > - `airflow pools -l` -> `airflow pools list`
> > > - `airflow pools -a` -> `airflow pools add`
> > > - `airflow initdb` -> `airflow db init`
> > >
> > > And an example "group" help message:
> > >
> > > usage: airflow db [-h] {init,reset,upgrade} ...
> > >
> > > positional arguments:
> > > {init,reset,upgrade}
> > > init Initialize the metadata database
> > > reset Burn down and rebuild the metadata database
> > > upgrade Upgrade the metadata database to latest
> > version
> > >
> > > optional arguments:
> > > -h, --help show this help message and exit
> > >
> > > This is my (binding) +1 vote.
> > >
> > > A reminder about binding/non-binding votes: PMC members and Committer's
> > > votes are binding for AIP; other members of the community are
> encouraged
> > to
> > > vote with a "(non-binding)".
> > >
> > > Thanks,
> > > Ash
> > >
> > >
> > >
> > >
> >
>
--
Kamil Breguła
Polidea <https://www.polidea.com/> | Software Engineer
M: +48 505 458 451 <+48505458451>
E: kamil.bregula@polidea.com
[image: Polidea] <https://www.polidea.com/>
We create human & business stories through technology.
Check out our projects! <https://www.polidea.com/our-work>
[image: Github] <https://github.com/Polidea> [image: Facebook]
<https://www.facebook.com/Polidea.Software> [image: Twitter]
<https://twitter.com/polidea> [image: Linkedin]
<https://www.linkedin.com/company/polidea> [image: Instagram]
<https://instagram.com/polidea> [image: Behance]
<https://www.behance.net/polidea>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Chen Tong <ci...@gmail.com>.
+1 (non-binding)
On Tue, Jun 11, 2019 at 10:34 AM Christian Lellmann
<ch...@googlemail.com.invalid> wrote:
> +1 (non-binding)
>
> Jiajie Zhong <zh...@hotmail.com> schrieb am Di., 11. Juni 2019,
> 13:43:
>
> > +1 (non-binding)
> >
> >
> > Best Wish
> > — Jiajie
> >
> >
> >
> > On Jun 11, 2019, at 19:21, Kaxil Naik <kaxilnaik@gmail.com<mailto:
> > kaxilnaik@gmail.com>> wrote:
> >
> > +1 (binding)
> >
> > On Tue, Jun 11, 2019, 12:15 Ash Berlin-Taylor <ash@apache.org<mailto:
> > ash@apache.org>> wrote:
> >
> > Hi Airflowers,
> >
> > This email calls for a vote to introduce restructure the CLI to use
> nested
> > commands instead of flags. The vote will last for at least 1 week (June
> > 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
> >
> > The original discussion <
> >
> >
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> > >
> > was positive and the proposed implementation is at
> > https://github.com/apache/airflow/pull/4821. Since this is a breaking
> > change it will be for Airflow 2.0.0 only.
> >
> > An example of the proposed changes to the cli:
> >
> > - `airflow list_dags` -> `airflow dags list`
> > - `airflow pools -l` -> `airflow pools list`
> > - `airflow pools -a` -> `airflow pools add`
> > - `airflow initdb` -> `airflow db init`
> >
> > And an example "group" help message:
> >
> > usage: airflow db [-h] {init,reset,upgrade} ...
> >
> > positional arguments:
> > {init,reset,upgrade}
> > init Initialize the metadata database
> > reset Burn down and rebuild the metadata database
> > upgrade Upgrade the metadata database to latest
> version
> >
> > optional arguments:
> > -h, --help show this help message and exit
> >
> > This is my (binding) +1 vote.
> >
> > A reminder about binding/non-binding votes: PMC members and Committer's
> > votes are binding for AIP; other members of the community are encouraged
> to
> > vote with a "(non-binding)".
> >
> > Thanks,
> > Ash
> >
> >
> >
> >
>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Szymon Przedwojski <sz...@polidea.com>.
+1 (non-binding)
Szymon Przedwojski
Polidea <https://www.polidea.com/> | Software Engineer
M: +48 500 330 790 <+48500330790>
E: szymon.przedwojski@polidea.com
[image: Polidea] <https://www.polidea.com/>
Check out our projects! <https://www.polidea.com/our-work>
[image: Github] <https://github.com/Polidea> [image: Facebook]
<https://www.facebook.com/Polidea.Software> [image: Twitter]
<https://twitter.com/polidea> [image: Linkedin]
<https://www.linkedin.com/company/polidea> [image: Instagram]
<https://instagram.com/polidea> [image: Behance]
<https://www.behance.net/polidea> [image: dribbble]
<https://dribbble.com/polideadesign>
On Tue, 11 Jun 2019 at 16:34, Christian Lellmann
<ch...@googlemail.com.invalid> wrote:
> +1 (non-binding)
>
> Jiajie Zhong <zh...@hotmail.com> schrieb am Di., 11. Juni 2019,
> 13:43:
>
> > +1 (non-binding)
> >
> >
> > Best Wish
> > — Jiajie
> >
> >
> >
> > On Jun 11, 2019, at 19:21, Kaxil Naik <kaxilnaik@gmail.com<mailto:
> > kaxilnaik@gmail.com>> wrote:
> >
> > +1 (binding)
> >
> > On Tue, Jun 11, 2019, 12:15 Ash Berlin-Taylor <ash@apache.org<mailto:
> > ash@apache.org>> wrote:
> >
> > Hi Airflowers,
> >
> > This email calls for a vote to introduce restructure the CLI to use
> nested
> > commands instead of flags. The vote will last for at least 1 week (June
> > 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
> >
> > The original discussion <
> >
> >
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> > >
> > was positive and the proposed implementation is at
> > https://github.com/apache/airflow/pull/4821. Since this is a breaking
> > change it will be for Airflow 2.0.0 only.
> >
> > An example of the proposed changes to the cli:
> >
> > - `airflow list_dags` -> `airflow dags list`
> > - `airflow pools -l` -> `airflow pools list`
> > - `airflow pools -a` -> `airflow pools add`
> > - `airflow initdb` -> `airflow db init`
> >
> > And an example "group" help message:
> >
> > usage: airflow db [-h] {init,reset,upgrade} ...
> >
> > positional arguments:
> > {init,reset,upgrade}
> > init Initialize the metadata database
> > reset Burn down and rebuild the metadata database
> > upgrade Upgrade the metadata database to latest
> version
> >
> > optional arguments:
> > -h, --help show this help message and exit
> >
> > This is my (binding) +1 vote.
> >
> > A reminder about binding/non-binding votes: PMC members and Committer's
> > votes are binding for AIP; other members of the community are encouraged
> to
> > vote with a "(non-binding)".
> >
> > Thanks,
> > Ash
> >
> >
> >
> >
>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Christian Lellmann <ch...@googlemail.com.INVALID>.
+1 (non-binding)
Jiajie Zhong <zh...@hotmail.com> schrieb am Di., 11. Juni 2019,
13:43:
> +1 (non-binding)
>
>
> Best Wish
> — Jiajie
>
>
>
> On Jun 11, 2019, at 19:21, Kaxil Naik <kaxilnaik@gmail.com<mailto:
> kaxilnaik@gmail.com>> wrote:
>
> +1 (binding)
>
> On Tue, Jun 11, 2019, 12:15 Ash Berlin-Taylor <ash@apache.org<mailto:
> ash@apache.org>> wrote:
>
> Hi Airflowers,
>
> This email calls for a vote to introduce restructure the CLI to use nested
> commands instead of flags. The vote will last for at least 1 week (June
> 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>
> The original discussion <
>
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> >
> was positive and the proposed implementation is at
> https://github.com/apache/airflow/pull/4821. Since this is a breaking
> change it will be for Airflow 2.0.0 only.
>
> An example of the proposed changes to the cli:
>
> - `airflow list_dags` -> `airflow dags list`
> - `airflow pools -l` -> `airflow pools list`
> - `airflow pools -a` -> `airflow pools add`
> - `airflow initdb` -> `airflow db init`
>
> And an example "group" help message:
>
> usage: airflow db [-h] {init,reset,upgrade} ...
>
> positional arguments:
> {init,reset,upgrade}
> init Initialize the metadata database
> reset Burn down and rebuild the metadata database
> upgrade Upgrade the metadata database to latest version
>
> optional arguments:
> -h, --help show this help message and exit
>
> This is my (binding) +1 vote.
>
> A reminder about binding/non-binding votes: PMC members and Committer's
> votes are binding for AIP; other members of the community are encouraged to
> vote with a "(non-binding)".
>
> Thanks,
> Ash
>
>
>
>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Jason Rich <ja...@icloud.com.INVALID>.
+1
> On Jun 11, 2019, at 8:23 AM, Jarek Potiuk <Ja...@polidea.com> wrote:
>
> +1 (binding)
>
> On Tue, Jun 11, 2019 at 1:43 PM Jiajie Zhong <zh...@hotmail.com>
> wrote:
>
>> +1 (non-binding)
>>
>>
>> Best Wish
>> — Jiajie
>>
>>
>>
>> On Jun 11, 2019, at 19:21, Kaxil Naik <kaxilnaik@gmail.com<mailto:
>> kaxilnaik@gmail.com>> wrote:
>>
>> +1 (binding)
>>
>> On Tue, Jun 11, 2019, 12:15 Ash Berlin-Taylor <ash@apache.org<mailto:
>> ash@apache.org>> wrote:
>>
>> Hi Airflowers,
>>
>> This email calls for a vote to introduce restructure the CLI to use nested
>> commands instead of flags. The vote will last for at least 1 week (June
>> 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>>
>> The original discussion <
>>
>> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
>>>
>> was positive and the proposed implementation is at
>> https://github.com/apache/airflow/pull/4821. Since this is a breaking
>> change it will be for Airflow 2.0.0 only.
>>
>> An example of the proposed changes to the cli:
>>
>> - `airflow list_dags` -> `airflow dags list`
>> - `airflow pools -l` -> `airflow pools list`
>> - `airflow pools -a` -> `airflow pools add`
>> - `airflow initdb` -> `airflow db init`
>>
>> And an example "group" help message:
>>
>> usage: airflow db [-h] {init,reset,upgrade} ...
>>
>> positional arguments:
>> {init,reset,upgrade}
>> init Initialize the metadata database
>> reset Burn down and rebuild the metadata database
>> upgrade Upgrade the metadata database to latest version
>>
>> optional arguments:
>> -h, --help show this help message and exit
>>
>> This is my (binding) +1 vote.
>>
>> A reminder about binding/non-binding votes: PMC members and Committer's
>> votes are binding for AIP; other members of the community are encouraged to
>> vote with a "(non-binding)".
>>
>> Thanks,
>> Ash
>>
>>
>>
>>
>
> --
>
> Jarek Potiuk
> Polidea <https://www.polidea.com/> | Principal Software Engineer
>
> M: +48 660 796 129 <+48660796129>
> [image: Polidea] <https://www.polidea.com/>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Jarek Potiuk <Ja...@polidea.com>.
+1 (binding)
On Tue, Jun 11, 2019 at 1:43 PM Jiajie Zhong <zh...@hotmail.com>
wrote:
> +1 (non-binding)
>
>
> Best Wish
> — Jiajie
>
>
>
> On Jun 11, 2019, at 19:21, Kaxil Naik <kaxilnaik@gmail.com<mailto:
> kaxilnaik@gmail.com>> wrote:
>
> +1 (binding)
>
> On Tue, Jun 11, 2019, 12:15 Ash Berlin-Taylor <ash@apache.org<mailto:
> ash@apache.org>> wrote:
>
> Hi Airflowers,
>
> This email calls for a vote to introduce restructure the CLI to use nested
> commands instead of flags. The vote will last for at least 1 week (June
> 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>
> The original discussion <
>
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E
> >
> was positive and the proposed implementation is at
> https://github.com/apache/airflow/pull/4821. Since this is a breaking
> change it will be for Airflow 2.0.0 only.
>
> An example of the proposed changes to the cli:
>
> - `airflow list_dags` -> `airflow dags list`
> - `airflow pools -l` -> `airflow pools list`
> - `airflow pools -a` -> `airflow pools add`
> - `airflow initdb` -> `airflow db init`
>
> And an example "group" help message:
>
> usage: airflow db [-h] {init,reset,upgrade} ...
>
> positional arguments:
> {init,reset,upgrade}
> init Initialize the metadata database
> reset Burn down and rebuild the metadata database
> upgrade Upgrade the metadata database to latest version
>
> optional arguments:
> -h, --help show this help message and exit
>
> This is my (binding) +1 vote.
>
> A reminder about binding/non-binding votes: PMC members and Committer's
> votes are binding for AIP; other members of the community are encouraged to
> vote with a "(non-binding)".
>
> Thanks,
> Ash
>
>
>
>
--
Jarek Potiuk
Polidea <https://www.polidea.com/> | Principal Software Engineer
M: +48 660 796 129 <+48660796129>
[image: Polidea] <https://www.polidea.com/>
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Jiajie Zhong <zh...@hotmail.com>.
+1 (non-binding)
Best Wish
— Jiajie
On Jun 11, 2019, at 19:21, Kaxil Naik <ka...@gmail.com>> wrote:
+1 (binding)
On Tue, Jun 11, 2019, 12:15 Ash Berlin-Taylor <as...@apache.org>> wrote:
Hi Airflowers,
This email calls for a vote to introduce restructure the CLI to use nested
commands instead of flags. The vote will last for at least 1 week (June
18th 12:00 BST), and at least three +1 (binding) votes have been cast.
The original discussion <
https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E>
was positive and the proposed implementation is at
https://github.com/apache/airflow/pull/4821. Since this is a breaking
change it will be for Airflow 2.0.0 only.
An example of the proposed changes to the cli:
- `airflow list_dags` -> `airflow dags list`
- `airflow pools -l` -> `airflow pools list`
- `airflow pools -a` -> `airflow pools add`
- `airflow initdb` -> `airflow db init`
And an example "group" help message:
usage: airflow db [-h] {init,reset,upgrade} ...
positional arguments:
{init,reset,upgrade}
init Initialize the metadata database
reset Burn down and rebuild the metadata database
upgrade Upgrade the metadata database to latest version
optional arguments:
-h, --help show this help message and exit
This is my (binding) +1 vote.
A reminder about binding/non-binding votes: PMC members and Committer's
votes are binding for AIP; other members of the community are encouraged to
vote with a "(non-binding)".
Thanks,
Ash
Re: [VOTE] AIP-16: CLI: Use nested commands instead of flags
Posted by Kaxil Naik <ka...@gmail.com>.
+1 (binding)
On Tue, Jun 11, 2019, 12:15 Ash Berlin-Taylor <as...@apache.org> wrote:
> Hi Airflowers,
>
> This email calls for a vote to introduce restructure the CLI to use nested
> commands instead of flags. The vote will last for at least 1 week (June
> 18th 12:00 BST), and at least three +1 (binding) votes have been cast.
>
> The original discussion <
> https://lists.apache.org/thread.html/94c97ed621706a2e9130a3550b879a5838c23209f2d6d40f8bb49cd8@%3Cdev.airflow.apache.org%3E>
> was positive and the proposed implementation is at
> https://github.com/apache/airflow/pull/4821. Since this is a breaking
> change it will be for Airflow 2.0.0 only.
>
> An example of the proposed changes to the cli:
>
> - `airflow list_dags` -> `airflow dags list`
> - `airflow pools -l` -> `airflow pools list`
> - `airflow pools -a` -> `airflow pools add`
> - `airflow initdb` -> `airflow db init`
>
> And an example "group" help message:
>
> usage: airflow db [-h] {init,reset,upgrade} ...
>
> positional arguments:
> {init,reset,upgrade}
> init Initialize the metadata database
> reset Burn down and rebuild the metadata database
> upgrade Upgrade the metadata database to latest version
>
> optional arguments:
> -h, --help show this help message and exit
>
> This is my (binding) +1 vote.
>
> A reminder about binding/non-binding votes: PMC members and Committer's
> votes are binding for AIP; other members of the community are encouraged to
> vote with a "(non-binding)".
>
> Thanks,
> Ash
>
>