mirror of
https://github.com/gryf/slack-backup.git
synced 2025-12-17 19:40:21 +01:00
Added File objects, some fixes, and download module
This commit is contained in:
@@ -28,12 +28,15 @@ def main():
|
||||
parser.add_argument('-c', '--channels', default=[], nargs='+',
|
||||
help='List of channels to perform actions on. '
|
||||
'Default is all channels')
|
||||
parser.add_argument('-t', '--team', default='', help='team name, which is'
|
||||
' part of slack url, for example: if url is '
|
||||
'"https://team.slack.com" than "team" is a name of '
|
||||
'the team.')
|
||||
args = parser.parse_args()
|
||||
|
||||
slack = client.Client(args.token, args.database)
|
||||
slack.update_users()
|
||||
slack.update_channels()
|
||||
slack.update_history(selected_channels=args.channels)
|
||||
slack = client.Client(args)
|
||||
slack.update()
|
||||
# slack.generate_history(Reporter(args.format))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user