-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsole.yml
66 lines (65 loc) · 2.03 KB
/
console.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
commands:
countries:populate:from_csv:
class: Address\Console
method: countriesPopulateFromCsv
description: Populate country database from CSV file
arguments:
csv_file:
description: Read countries from this CSV file
options:
name:
long_name: --name
description: Get country name from this column
action: StoreString
numeric:
long_name: --numeric
description: Get ISO 3166-1 numeric code from this column
action: StoreString
alpha2:
long_name: --alpha-2
description: Get ISO 3166-1 alpha-2 code from this column
action: StoreString
alpha3:
long_name: --alpha-3
description: Get ISO 3166-1 alpha-3 code from this column
action: StoreString
region:
long_name: --region
description: Get region in the world from this column
action: StoreString
postcodes:populate:from_csv:
class: Address\Console
method: postcodesPopulateFromCsv
description: Populate postcode database from CSV file
arguments:
csv_file:
description: Read postcodes from this CSV file
options:
country:
long_name: --country
description: Country code (ISO 3166-1 numeric, alpha-2 or alpha-3)
action: StoreString
postcode:
long_name: --postcode
description: Get postcode from this column
action: StoreString
locality:
long_name: --locality
description: Get locality from this column, same as city if not given
action: StoreString
city:
long_name: --city
description: Get city (municipality) from this column
action: StoreString
state:
long_name: --state
description: Get state from this column, optional
action: StoreString
postcodes:populate:FI:
class: Address\Console
method: postcodesPopulateFI
description: Populate Finnish postcode entries from posti.fi
test:
class: Address\Console
description: Testing
method: test