Sorry my intention is vague, the framework initialized message is really
just a placeholder for indicating the framework was initialized in API mode
as opposed to command line usage. Basically if arguments are passed it
knows that it is command line usage and will thus handle differently
(potentially) than with interactive use.
On Nov 20, 2013 7:43 PM, "Dennis Ideler" <notifications@github.com> wrote:

> In src/freeseer/framework/youtube.py:
>
> > +
> > +            parser.add_argument("-c", "--client_secrets", type=unicode,
> > +                                help="Path to client secrets file", default=client_secrets)
> > +            parser.add_argument("-t", "--token", type=unicode,
> > +                                help="Path to OAuth2 token", default=oauth2_token)
> > +            parser.add_argument("-f", "--files", type=unicode,
> > +                                help="Path to file or filefolder for upload", default=self.default_video_directory)
> > +            parser.add_argument("-y", "--yes", help="Assume yes", action="store_true")
> > +            self.flags = parser.parse_args(argv[1:])
> > +            self.cmd_line = True
> > +
> > +        # Framework was initialized for interactive use
> > +        else:
> > +            self.flags = parser.parse_args()
> > +            self.cmd_line = False
> > +            print "Framework initialized"
>
> Should the end user see this? Looks like it should be a logging call to me.
>
> Another problem is that the message is only printed when no arguments are
> passed, but the framework is also initialized when arguments are passed.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Freeseer/freeseer/pull/402/files#r7812091>
> .
>