gitlab_migration/cli.py
def to_csv(csv, gitlab_url, token):
    '''
    get the SSH url for all projects (except archived projects) and write them to a (single-column) csv.

    WARNING: this will silently overwrite the specified file if it already exists
    '''
    click.echo(f"Fetching all project SSH URLs from {gitlab_url}...")
    csv.writelines([f"{url},\n" for url in glm.get_project_urls(gitlab_url, token)])
    click.echo("Done.")

    get the SSH url for all projects (except archived projects) and write them to a (single-column) csv.

    WARNING: this will silently overwrite the specified file if it already exists
    
get the SSH url for all projects (except archived projects) and write them to a (single-column) csv.
WARNING: this will silently overwrite the specified file if it already exists
get the SSH url for all projects ( except archived projects ) and write them to a ( single - column ) csv . WARNING : this will silently overwrite the specified file if it already exists
def to_csv(csv, gitlab_url, token):
    click.echo(f"Fetching all project SSH URLs from {gitlab_url}...")
    csv.writelines([f"{url},\n" for url in glm.get_project_urls(gitlab_url, token)])
    click.echo("Done.")
def to_csv ( csv , gitlab_url , token ) : click . echo ( f"Fetching all project SSH URLs from {gitlab_url}..." ) csv . writelines ( [ f"{url},\n" for url in glm . get_project_urls ( gitlab_url , token ) ] ) click . echo ( "Done." )
get the SSH url for all projects (except archived projects) and write them to a (single-column) csv.
get the SSH url for all projects ( except archived projects ) and write them to a ( single - column ) csv .
'''
    get the SSH url for all projects (except archived projects) and write them to a (single-column) csv.

    WARNING: this will silently overwrite the specified file if it already exists
    '''
csv
gitlab_url
token