pub fn generate_completion<F: Read + Write, S: System<F>, W: Write>( system: S, writer: &mut W, command: &mut Command, shell: Shell, ) -> MyResult<()>