Re: CLI for Schema Diff

2021-04-19 Thread Steve Chavez
Hi Dave, Thanks for the thoughtful reply. I got sidetracked but now I'm able to continue work on the CLI. > 1) Agree a standard for command line syntax. > 3) Make the code modular and extensible; perhaps using a Python module per CLI module. Cool, I agree with the standard. From my understanding

Re: CLI for Schema Diff

2021-04-19 Thread Dave Page
Hi On Mon, Apr 19, 2021 at 6:47 AM Steve Chavez wrote: > Hi Dave, > > Thanks for the thoughtful reply. I got sidetracked but now I'm able to > continue work on the CLI. > > > 1) Agree a standard for command line syntax. > > 3) Make the code modular and extensible; perhaps using a Python module >

Re: CLI for Schema Diff

2021-04-01 Thread Steve Chavez
> but is this something you'd be interested in working on to become a more fully featured and production quality CLI? Yes, absolutely! What would be the next step? I'm all for doing a CLI that covers pgAdmin quality standards. On Wed, 31 Mar 2021 at 03:08, Dave Page wrote: > Hi > > On Tue, Mar

Re: CLI for Schema Diff

2021-04-01 Thread Dave Page
Hi On Thu, Apr 1, 2021 at 12:38 AM Steve Chavez wrote: > > but is this something you'd be interested in working on to become a more > fully featured and production quality CLI? > > Yes, absolutely! > Cool! > What would be the next step? I'm all for doing a CLI that covers pgAdmin > quality st

Re: CLI for Schema Diff

2021-03-31 Thread Dave Page
Hi On Tue, Mar 30, 2021 at 3:36 PM Steve Chavez wrote: > Hey all, > > In case anyone is interested, I've managed to enable a CLI mode for the > Schema Diff on this repo: > > https://github.com/steve-chavez/pgadmin4/blob/cli/web/cli.py > > It basically works by using a Flask test client that inte

Re: CLI for Schema Diff

2021-03-30 Thread Steve Chavez
Hey all, In case anyone is interested, I've managed to enable a CLI mode for the Schema Diff on this repo: https://github.com/steve-chavez/pgadmin4/blob/cli/web/cli.py It basically works by using a Flask test client that interacts with the Schema Diff endpoints. It's a single isolated file, I ha