HomeDevCentral

Suggest FANTOIR_TABLE value in fetch command

Description

Suggest FANTOIR_TABLE value in fetch command

Summary:
Currently, the fetch commands prints:
FANTOIR_FILE=FANTOIR1022

With this change it also prints:
FANTOIR_TABLE=fantoir_202210

Use case

That allows pipeline to do something like:

$ fantoir-datasource fetch > .env
$ source .env
$ fantoir-datasource import $FANTOIR_FILE $FANTOIR_TABLE
[...]
$ fantoir=datasource promote $FANTOIR_TABLE

Ref T1750.

Test Plan: fantoir-datasource fetch

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1750

Differential Revision: https://devcentral.nasqueron.org/D2753

Details

Provenance
derecksonAuthored on Thu, Jan 19, 01:21
derecksonPushed on Thu, Jan 19, 01:27
Reviewer
dereckson
Differential Revision
D2753: Suggest FANTOIR_TABLE value in fetch command
Parents
rDS4eca67d53c85: Allow to search FANTOIR code through fantoir-datasource query
Branches
Unknown
Tags
Unknown
References
HEAD -> main
Tasks
T1750: Import FANTOIR database