You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
channel_create.Flags().StringArray("languages", nil, "(list) languages used by the channel, using RFC 5646 format, eg:\nfor English `--languages=en`\nfor Spanish (Spain) `--languages=es-ES`\nfor Spanish (Mexican) `--languages=es-MX`\nfor Chinese (Simplified) `--languages=zh-Hans`\nfor Chinese (Traditional) `--languages=zh-Hant`")
26
-
channel_create.Flags().StringArray("locations", nil, "(list) locations of the channel, consisting of 2 letter\r\n `country` code and a `state`, `city` and a postal\r\n `code` along with a `latitude` and `longitude`.\r\n for JSON RPC: pass a dictionary with aforementioned\r\n attributes as keys, eg:\r\n ...\r\n\"locations\": [{'country': 'US', 'state': 'NH'}]\r\n ...\r\n for command line: pass a colon delimited list\r\n with values in the following order:\r\n\r\n\"COUNTRY:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\r\n\r\n making sure to include colon for blank values, for\r\n example to provide only the city:\r\n\r\n ... --locations=\"::Manchester\"\r\n\r\n with all values set:\r\n\r\n ... --locations=\"US:NH:Manchester:03101:42.990605:-71.460989\"\r\n\r\n optionally, you can just pass the \"LATITUDE:LONGITUDE\":\r\n\r\n ... --locations=\"42.990605:-71.460989\"\r\n\r\n finally, you can also pass JSON string of dictionary\r\n on the command line as you would via JSON RPC\r\n\r\n ... --locations=\"{'country': 'US', 'state': 'NH'}\"")
25
+
channel_create.Flags().StringArray("languages", nil, "(list) languages used by the channel, using RFC 5646 format, eg:\n\tfor English `--languages=en`\n\tfor Spanish (Spain) `--languages=es-ES`\n\tfor Spanish (Mexican) `--languages=es-MX`\n\tfor Chinese (Simplified) `--languages=zh-Hans`\n\tfor Chinese (Traditional) `--languages=zh-Hant`")
26
+
channel_create.Flags().StringArray("locations", nil, "(list) locations of the channel, consisting of 2 letter `country` code and a `state`, `city` and a postal `code` along with a `latitude` and `longitude`.\nfor JSON RPC: pass a dictionary with aforementioned attributes as keys, eg:\n\t...\n\t\"locations\": [{'country': 'US', 'state': 'NH'}]\n\t...\nfor command line: pass a colon delimited list with values in the following order:\n\n\t\"COUNTRY:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n\nmaking sure to include colon for blank values, for example to provide only the city:\n\n\t... --locations=\"::Manchester\"\n\nwith all values set:\n\n\t... --locations=\"US:NH:Manchester:03101:42.990605:-71.460989\"\n\noptionally, you can just pass the \"LATITUDE:LONGITUDE\":\n\n\t... --locations=\"42.990605:-71.460989\"\n\nfinally, you can also pass JSON string of dictionary on the command line as you would via JSON RPC\n\n\t... --locations=\"{'country': 'US', 'state': 'NH'}\"")
channel_update.Flags().Bool("clear_tags", false, "(bool) clear existing tags (prior to adding new ones)")
26
26
channel_update.Flags().StringArray("languages", nil, "(list) languages used by the channel, using RFC 5646 format, eg:\nfor English `--languages=en`\nfor Spanish (Spain) `--languages=es-ES`\nfor Spanish (Mexican) `--languages=es-MX`\nfor Chinese (Simplified) `--languages=zh-Hans`\nfor Chinese (Traditional) `--languages=zh-Hant`")
27
27
channel_update.Flags().Bool("clear_languages", false, "(bool) clear existing languages (prior to adding new ones)")
28
-
channel_update.Flags().StringArray("locations", nil, "(list) locations of the channel, consisting of 2 letter\r\n `country` code and a `state`, `city` and a postal\r\n `code` along with a `latitude` and `longitude`.\r\n for JSON RPC: pass a dictionary with aforementioned\r\n attributes as keys, eg:\r\n ...\r\n\"locations\": [{'country': 'US', 'state': 'NH'}]\r\n ...\r\n for command line: pass a colon delimited list\r\n with values in the following order:\r\n\r\n\"COUNTRY:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\r\n\r\n making sure to include colon for blank values, for\r\n example to provide only the city:\r\n\r\n ... --locations=\"::Manchester\"\r\n\r\n with all values set:\r\n\r\n ... --locations=\"US:NH:Manchester:03101:42.990605:-71.460989\"\r\n\r\n optionally, you can just pass the \"LATITUDE:LONGITUDE\":\r\n\r\n ... --locations=\"42.990605:-71.460989\"\r\n\r\n finally, you can also pass JSON string of dictionary\r\n on the command line as you would via JSON RPC\r\n\r\n ... --locations=\"{'country': 'US', 'state': 'NH'}\"")
29
-
channel_update.Flags().Bool("clear_locations", false, "(bool) clear existing locations (prior to adding new ones)")
28
+
channel_create.Flags().StringArray("locations", nil, "(list) locations of the channel, consisting of 2 letter `country` code and a `state`, `city` and a postal `code` along with a `latitude` and `longitude`.\nfor JSON RPC: pass a dictionary with aforementioned attributes as keys, eg:\n\t...\n\t\"locations\": [{'country': 'US', 'state': 'NH'}]\n\t...\nfor command line: pass a colon delimited list with values in the following order:\n\n\t\"COUNTRY:STATE:CITY:CODE:LATITUDE:LONGITUDE\"\n\nmaking sure to include colon for blank values, for example to provide only the city:\n\n\t... --locations=\"::Manchester\"\n\nwith all values set:\n\n\t... --locations=\"US:NH:Manchester:03101:42.990605:-71.460989\"\n\noptionally, you can just pass the \"LATITUDE:LONGITUDE\":\n\n\t... --locations=\"42.990605:-71.460989\"\n\nfinally, you can also pass JSON string of dictionary on the command line as you would via JSON RPC\n\n\t... --locations=\"{'country': 'US', 'state': 'NH'}\"")
29
+
channel_update.Flags().Bool("clear_locations", false, "(bool) clear existing locations (prior to adding new ones)")
0 commit comments