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 Jan 19 2023, 01:21
derecksonPushed on Jan 19 2023, 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
Tasks
T1750: Import FANTOIR database