cloudcat 0.1.1__tar.gz → 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cloudcat-0.1.1 → cloudcat-0.1.2}/PKG-INFO +1 -1
- {cloudcat-0.1.1 → cloudcat-0.1.2}/cloudcat/__init__.py +1 -1
- {cloudcat-0.1.1 → cloudcat-0.1.2}/cloudcat/cli.py +6 -6
- {cloudcat-0.1.1 → cloudcat-0.1.2}/cloudcat.egg-info/PKG-INFO +1 -1
- {cloudcat-0.1.1 → cloudcat-0.1.2}/setup.py +1 -1
- {cloudcat-0.1.1 → cloudcat-0.1.2}/LICENSE +0 -0
- {cloudcat-0.1.1 → cloudcat-0.1.2}/README.md +0 -0
- {cloudcat-0.1.1 → cloudcat-0.1.2}/cloudcat.egg-info/SOURCES.txt +0 -0
- {cloudcat-0.1.1 → cloudcat-0.1.2}/cloudcat.egg-info/dependency_links.txt +0 -0
- {cloudcat-0.1.1 → cloudcat-0.1.2}/cloudcat.egg-info/entry_points.txt +0 -0
- {cloudcat-0.1.1 → cloudcat-0.1.2}/cloudcat.egg-info/requires.txt +0 -0
- {cloudcat-0.1.1 → cloudcat-0.1.2}/cloudcat.egg-info/top_level.txt +0 -0
- {cloudcat-0.1.1 → cloudcat-0.1.2}/pyproject.toml +0 -0
- {cloudcat-0.1.1 → cloudcat-0.1.2}/setup.cfg +0 -0
|
@@ -270,16 +270,16 @@ def get_record_count(service, bucket, object_path, input_format):
|
|
|
270
270
|
|
|
271
271
|
|
|
272
272
|
@click.command()
|
|
273
|
-
@click.option('--path', required=True, help='Path to the file (gcs://... or s3://...)')
|
|
274
|
-
@click.option('--output-format', type=click.Choice(['json', 'csv', 'table']), default='table',
|
|
273
|
+
@click.option('--path', '-p', required=True, help='Path to the file (gcs://... or s3://...)')
|
|
274
|
+
@click.option('--output-format', '-o', type=click.Choice(['json', 'csv', 'table']), default='table',
|
|
275
275
|
help='Output format (default: table)')
|
|
276
|
-
@click.option('--input-format', type=click.Choice(['json', 'csv', 'parquet']),
|
|
276
|
+
@click.option('--input-format', '-i', type=click.Choice(['json', 'csv', 'parquet']),
|
|
277
277
|
help='Input format (default: inferred from path)')
|
|
278
|
-
@click.option('--columns', help='Comma-separated list of columns to display (default: all)')
|
|
278
|
+
@click.option('--columns', '-c', help='Comma-separated list of columns to display (default: all)')
|
|
279
279
|
@click.option('--num-rows', '-n', default=10, type=int, help='Number of rows to display (default: 10)')
|
|
280
|
-
@click.option('--schema', type=click.Choice(['show', 'dont_show', 'schema_only']), default='show',
|
|
280
|
+
@click.option('--schema', '-s', type=click.Choice(['show', 'dont_show', 'schema_only']), default='show',
|
|
281
281
|
help='Schema display option (default: show)')
|
|
282
|
-
@click.option('--count', is_flag=True, help='Show record count at the end')
|
|
282
|
+
@click.option('--count', '-cn', is_flag=True, help='Show record count at the end')
|
|
283
283
|
def main(path, output_format, input_format, columns, num_rows, schema, count):
|
|
284
284
|
"""Display data from files in Google Cloud Storage or AWS S3.
|
|
285
285
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|